/* Actuate Login Page - Modern Design */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.actuate-login-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow: hidden;
}

/* Main Container */
.login-container {
    display: flex;
    min-height: 100vh;
    background: #ffffff;
}

/* Left Side - Illustration */
.login-illustration {
    flex: 1;
    background: linear-gradient(135deg, #dc2626 0%, #D93146 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 60px;
}

.illustration-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.brand-logo {
    margin-bottom: 40px;
}

.brand-logo img {
    max-width: 180px;
    filter: brightness(0) invert(1);
}

.illustration-image {
    margin: 40px 0;
}

.login-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.welcome-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Decorative Circles */
.decorative-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -80px;
    left: -60px;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Right Side - Login Form */
.login-form-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #fafafa;
}

.login-form-wrapper {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 30px;
}

.mobile-logo img {
    max-width: 150px;
}

.form-header {
    margin-bottom: 35px;
}

.form-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}

.form-header p {
    font-size: 15px;
    color: #6b7280;
}

/* Error Box */
.login-error-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fef2f2;
    border-left: 4px solid #dc2626;
    padding: 14px 16px;
    border-radius: 8px;
    color: #D93146;
    font-size: 14px;
    margin-bottom: 25px;
}

.error-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Form Styling */
.login-form {
    margin: 0;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: #9ca3af;
    pointer-events: none;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 14px 16px 14px 48px;
    font-size: 15px;
    color: #1f2937;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #dc2626;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

.toggle-password {
    position: absolute;
    right: 16px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #dc2626;
}

.eye-icon {
    width: 20px;
    height: 20px;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.remember-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
    user-select: none;
}

.remember-checkbox input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #dc2626;
}

.forgot-link {
    font-size: 14px;
    font-weight: 600;
    color: #dc2626;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #D93146;
}

/* Submit Button */
.btn-login {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #dc2626 0%, #D93146 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

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

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-login:hover .btn-arrow {
    transform: translateX(4px);
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #dc2626;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .login-illustration {
        display: none;
    }

    .login-form-section {
        flex: 1;
        background: linear-gradient(135deg, #dc2626 0%, #D93146 100%);
    }

    .mobile-logo {
        display: block;
    }

    .mobile-logo img {
        filter: brightness(0) invert(1);
    }
}

@media screen and (max-width: 768px) {
    .login-form-section {
        padding: 30px 20px;
    }

    .login-form-wrapper {
        padding: 40px 30px;
    }

    .form-header h2 {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .login-form-wrapper {
        padding: 30px 20px;
    }

    .form-group input {
        padding: 12px 14px 12px 44px;
    }

    .btn-login {
        padding: 14px 24px;
    }
}
