body {
    background: linear-gradient(to right, #c8e6c9, #f1f8e9);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    padding: 2rem;
    position: relative;
}

.login-card {
    background-color: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 420px;
}

.login-card h2 {
    font-weight: 700;
    text-align: center;
    color: #2e7d32;
    margin-bottom: 1.5rem;
}

/* Inputuri */
.form-control {
    border-radius: 12px;
}

/* Iconițe în input */
.input-group-text {
    background-color: #e8f5e9;
    border: none;
    color: #66bb6a;
}

/* Buton principal “Intră în cont” */
.btn-success {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #4caf50, #388e3c);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-success:hover,
.btn-success:focus {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* Buton „Înapoi la site” */
.btn-outline-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 2px solid #6c757d;
    background: transparent;
    color: #6c757d;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    background: #6c757d;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Buton schimbare limbă */
.language-switch {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 999;
}
.language-btn {
    display: inline-flex;
    align-items: center;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 2px solid #198754;
    background: transparent;
    color: #198754;
    font-weight: 600;
    transition: all 0.3s ease;
}
.language-btn:hover,
.language-btn:focus {
    background: #198754;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* Text footer */
.footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: #789262;
    font-size: 0.9rem;
}

/* Asigură alinierea iconițelor din butoane */
.btn-success i,
.btn-outline-secondary i,
.language-btn i {
    vertical-align: middle;
    margin-right: 0.5rem;
    font-size: 1rem;
}
.input-group.w-100 {
  width: 100%;
}

/* 2. stilizează input‑urile */
.input-group .form-control {
  flex: 1 1 auto;              /* ocupă tot spațiul disponibil */
  width: 100% !important;       /* override bootstrap default */
  padding: 0.75rem 1rem;        /* același padding ca la buton */
  font-size: 1rem;
  border-radius: 0 12px 12px 0; /* colturi rotunde pe partea dreaptă */
  box-sizing: border-box;
}

/* 3. rotunjeste icon‑container‑ul */
.input-group-text {
  border-radius: 12px 0 0 12px;
}