body {
    background: linear-gradient(135deg, #2c847e 0%, #1e5955 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
    filter: blur(0.5px);
}

/* Background Animation */
body::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
    animation: rotate 30s linear infinite;
    top: -50%;
    left: -50%;
    z-index: 0;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 30px;
    box-shadow: 0 35px 80px rgba(44, 132, 126, 0.25), 0 2px 8px rgba(30, 89, 85, 0.08);
    width: 100%;
    max-width: 950px;
    margin: 0 auto;
    display: flex;
    overflow: hidden;
    position: relative;
    min-height: 600px;
    animation: fadeInCard 1.2s cubic-bezier(.39,.575,.56,1) both;
}

@keyframes fadeInCard {
    0% { opacity: 0; transform: translateY(40px) scale(0.98); }
    100% { opacity: 1; transform: none; }
}

.login-left {
    flex: 1;
    background: linear-gradient(135deg, #50a9a3 0%, #1e5955 100%);
    padding: 4rem 3rem;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(60px) saturate(120%);
    background-clip: padding-box;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url('data:image/svg+xml;utf8,<svg width="300" height="300" viewBox="0 0 300 300" fill="none" xmlns="http://www.w3.org/2000/svg"><circle cx="150" cy="150" r="120" fill="%23fff" fill-opacity="0.04"/><circle cx="80" cy="220" r="60" fill="%23fff" fill-opacity="0.06"/></svg>');
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}
.signup-info {
    margin-top: 2.5rem;
    text-align: center;
}
.signup-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 0.5px;
}
.signup-info .signup-desc {
    color: #e0f7f4;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.login-left-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.login-left h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(30, 89, 85, 0.08);
}

.login-left p {
    font-size: 1.1rem;
    opacity: 0.93;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 320px;
}

.login-right {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: rgba(255,255,255,0.97);
    z-index: 1;
}

/* Divider */
.login-right::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10%;
    width: 2px;
    height: 80%;
    background: linear-gradient(180deg, #2c847e33 0%, #1e595533 100%);
    border-radius: 2px;
    z-index: 2;
}

.login-header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2c847e 0%, #1e5955 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.8rem;
    box-shadow: 0 8px 20px rgba(44, 132, 126, 0.3);
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(44, 132, 126, 0.4);
}

.logo i {
    font-size: 2.8rem;
    color: white;
}

.login-header h2 {
    color: #2c847e;
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.login-header p {
    color: #718096;
    font-size: 1.1rem;
}

.form-control {
    border-radius: 14px;
    padding: 1rem 3rem;
    border: 2px solid #e2e8f0;
    font-size: 1rem;
    transition: all 0.3s ease;
    height: auto;
    background-color: #f8fafc;
    color: #2d3748;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(44, 132, 126, 0.15);
    border-color: #2c847e;
    background-color: #fff;
}

.form-control::placeholder {
    color: #a0aec0;
}

.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-group .left-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2c847e;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 2;
    transition: all 0.3s ease;
}

.input-group:focus-within .left-icon {
    color: #1e5955;
    transform: translateY(-50%) scale(1.1);
}

.password-toggle {
    position: absolute;
    right: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #2c847e;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 5px;
}

.password-toggle:hover {
    color: #1e5955;
    transform: translateY(-50%) scale(1.1);
}

.btn-login {
    background: linear-gradient(135deg, #2c847e 0%, #1e5955 100%);
    border: none;
    border-radius: 14px;
    padding: 1.1rem;
    width: 100%;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 16px rgba(44, 132, 126, 0.13);
}

.btn-login:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 24px rgba(44, 132, 126, 0.22);
}

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

.btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-login:hover::before {
    left: 100%;
}

.form-check {
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0;
    margin-right: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: #2c847e;
    border-color: #2c847e;
}

.form-check-label {
    color: #4a5568;
    font-size: 0.95rem;
    font-weight: 500;
}

.forgot-password {
    text-align: right;
    margin-top: 1.8rem;
}

.forgot-password a {
    color: #2c847e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.forgot-password a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1e5955;
    transition: width 0.3s ease;
}

.forgot-password a:hover {
    color: #1e5955;
}

.forgot-password a:hover::after {
    width: 100%;
}

.signup-section {
    margin-top: 2.5rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.signup-section p {
    color: #718096;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.signup-section a {
    color: #2c847e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.signup-section a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1e5955;
    transition: width 0.3s ease;
}

.signup-section a:hover {
    color: #1e5955;
}

.signup-section a:hover::after {
    width: 100%;
}

/* Toastr Customization */
#toast-container > div {
    opacity: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 15px 20px;
    font-family: 'Poppins', sans-serif;
}

.toast-error {
    background-color: #f56565;
}

.toast-success {
    background-color: #48bb78;
}

.toast-info {
    background-color: #2c847e;
}

/* Loading Animation */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 50%;
    left: 50%;
    margin: -12px 0 0 -12px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        max-width: 500px;
        min-height: auto;
    }
    .login-left, .login-right {
        padding: 2.5rem 1.5rem;
    }
    .login-left {
        border-radius: 30px 30px 0 0;
    }
    .login-right {
        border-radius: 0 0 30px 30px;
    }
    .login-right::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        border-radius: 20px;
    }
    .login-left, .login-right {
        padding: 1.5rem 0.7rem;
    }
    .login-header h2 {
        font-size: 1.5rem;
    }
    .logo {
        width: 60px;
        height: 60px;
    }
    .form-control {
        padding: 0.7rem 2rem;
    }
}

.btn-signup {
    display: inline-block;
    margin-top: 2.5rem;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1e5955 0%, #2c847e 100%);
    border: none;
    border-radius: 30px;
    box-shadow: 0 6px 24px rgba(30, 89, 85, 0.18);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(.39,.575,.56,1);
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.btn-signup:hover, .btn-signup:focus {
    background: linear-gradient(135deg, #2c847e 0%, #1e5955 100%);
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 32px rgba(44, 132, 126, 0.22);
    text-decoration: none;
}

.platform-logo {
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    margin: 0 auto 1.5rem auto;
    filter: drop-shadow(0 4px 16px rgba(30, 89, 85));
    border-radius: 18px;
    background: rgb(255 255 255);
    padding: 8px;
    transition: all 0.3s ease;
}

.platform-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(44, 132, 126, 0.4);
}
.platform-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 2px 8px rgba(44, 132, 126, 0.18));
    border-radius: 50%;
    background: #fff;
    padding: 8px;
}