﻿/* Login Container */
.login-container {
    display: flex;
    background: linear-gradient(135deg, #38474E 0%, #2a3840 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 20px auto;
    max-width: 500px;
    min-height: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
    transform: translateY(20px);
    }
    to {
   opacity: 1;
        transform: translateY(0);
    }
}

/* Typography */
label {
    color: #e3f0ff;
    font-weight: 500;
    font-size: 14px;
    display: block;
    margin-bottom: 8px;
}

.login-left {
    flex: 1;
    width: 100%;
}

h2 {
    color: #94C1FF;
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
}

/* Form Styling */
.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    border: 2px solid transparent;
  background: #e3f0ff;
font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #94C1FF;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(148, 193, 255, 0.1);
}

.form-control::placeholder {
    color: #7a8ca5;
}

/* Buttons */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #94C1FF 0%, #6fa3e8 100%);
    color: #fff;
    padding: 16px;
    border-radius: 10px;
    border: none;
    font-size: 18px;
    font-weight: 600;
    margin-top: 8px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(148, 193, 255, 0.3);
}

.btn-login:hover {
  transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 193, 255, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-reset {
    width: 100%;
    background: #ea4335;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    margin-bottom: 12px;
}

/* Links */
.account-link {
    text-align: center;
    width: 100%;
    margin-bottom: 16px;
    color: #b0c4de;
    font-size: 15px;
}

.forgot-link {
    text-align: center;
    margin-bottom: 16px;
    color: #b0c4de;
    font-size: 14px;
}

.account-link a,
.forgot-link a {
    color: #94C1FF;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.account-link a:hover,
.forgot-link a:hover {
    color: #b8d4ff;
    text-decoration: underline;
}

/* Alert Styling */
.rz-alert {
    margin-bottom: 20px;
    border-radius: 10px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .login-container {
   padding: 30px 20px;
        margin: 10px;
        border-radius: 15px;
   min-height: auto;
    }

    h2 {
        font-size: 22px;
        margin-bottom: 24px;
    }

 .form-control {
      padding: 12px 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }

    .btn-login {
    padding: 14px;
        font-size: 16px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    label {
      font-size: 13px;
    }

    .account-link,
    .forgot-link {
    font-size: 14px;
    }
}

@media (max-width: 480px) {
    .login-container {
      padding: 24px 16px;
        margin: 8px;
    }

    h2 {
   font-size: 20px;
 margin-bottom: 20px;
    }

    .form-control {
        padding: 12px;
  }

    .btn-login {
        padding: 12px;
  font-size: 15px;
  }
}

/* Divider */
.divider {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #4a5a62;
    line-height: 0.1em;
    margin: 24px 0 24px;
}

.divider span {
    background: #38474E;
    padding: 0 10px;
    color: #7a8ca5;
}

/* Social Buttons */
.social-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
    color: #7a8ca5;
}

.social-divider::before,
.social-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #4a5a62;
}

.social-divider span {
    padding: 0 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-login {
    margin-bottom: 20px;
}

.btn-facebook {
    width: 100%;
    background: #1877f2;
    color: #fff;
    padding: 14px;
    border-radius: 8px;
    border: none;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-facebook i {
    margin-right: 10px;
}

.btn-google {
    width: 100%;
    background: #ffffff;
    color: #3c4043;
    padding: 14px 24px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #d0d0d0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #3c4043;
    text-decoration: none;
}

.btn-google:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-google .google-icon {
    flex-shrink: 0;
}

.btn-google i {
    margin-right: 10px;
}
