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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

.admin-body {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.admin-card {
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.brand-section {
    text-align: center;
    padding: 40px 40px 20px 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.admin-brand {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.logo {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.admin-logo {
    background: rgba(255, 255, 255, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.admin-logo i {
    font-size: 48px;
    color: white;
}

.company-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo i {
    font-size: 48px;
    color: white;
}

.brand-section h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-section p {
    font-size: 14px;
    opacity: 0.9;
}

.login-form {
    padding: 40px;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    background: #f7fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

.input-icon {
    padding: 0 15px;
    color: #a0aec0;
    font-size: 18px;
    transition: color 0.3s ease;
}

.input-group:focus-within .input-icon {
    color: #667eea;
}

.input-field {
    flex: 1;
    position: relative;
}

.input-field input {
    width: 100%;
    padding: 16px 12px 16px 0;
    border: none;
    background: transparent;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.input-field label {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-field.focused label,
.input-field input:focus ~ label,
.input-field input:valid ~ label {
    top: 0;
    transform: translateY(-50%);
    font-size: 12px;
    color: #667eea;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #667eea;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-left: 28px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.checkbox-label:hover input ~ .checkmark {
    border-color: #667eea;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #667eea;
    border-color: #667eea;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.forgot-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #764ba2;
    text-decoration: underline;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(102, 126, 234, 0.4);
}

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

.admin-submit-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
}

.admin-submit-btn:hover {
    box-shadow: 0 10px 20px -5px rgba(30, 60, 114, 0.4);
}

.separator {
    text-align: center;
    position: relative;
    margin: 25px 0;
}

.separator::before,
.separator::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(50% - 30px);
    height: 1px;
    background: #e2e8f0;
}

.separator::before {
    left: 0;
}

.separator::after {
    right: 0;
}

.separator span {
    background: white;
    padding: 0 15px;
    color: #a0aec0;
    font-size: 14px;
}

.admin-login-btn {
    width: 100%;
    padding: 14px;
    background: #2d3748;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
}

.admin-login-btn:hover {
    background: #1a202c;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.user-login-btn {
    width: 100%;
    padding: 14px;
    background: #48bb78;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-bottom: 25px;
    font-family: 'Inter', sans-serif;
}

.user-login-btn:hover {
    background: #38a169;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(72, 187, 120, 0.4);
}

.security-note {
    text-align: center;
    padding: 15px;
    background: #f7fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #718096;
    font-size: 12px;
}

.security-note i {
    color: #48bb78;
    font-size: 16px;
}

.register-link {
    text-align: center;
    font-size: 14px;
    color: #4a5568;
}

.register-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-link a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 20s infinite ease-in-out;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: 50px;
    right: -50px;
    animation-delay: 5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

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

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
    min-width: 280px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-left: 4px solid #48bb78;
}

.notification.success i {
    color: #48bb78;
}

.notification.error {
    border-left: 4px solid #f56565;
}

.notification.error i {
    color: #f56565;
}

@media (max-width: 768px) {
    .login-card {
        max-width: 90%;
        margin: 20px auto;
    }
    
    .brand-section {
        padding: 30px 30px 20px 30px;
    }
    
    .login-form {
        padding: 30px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .logo {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .login-card {
        max-width: 95%;
    }
    
    .brand-section h1 {
        font-size: 24px;
    }
    
    .login-form {
        padding: 25px;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
}