/* Admin Login Page Styles - Improved */
.admin-login-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #dbeafe 0%, #f8fafc 50%, #e0e7ff 100%);
}

.admin-login-container {
    display: flex;
    min-height: 100vh;
}

.admin-login-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    padding: 2rem 1.5rem;
    background: white;
}

@media (min-width: 1024px) {
    .admin-login-form-panel {
        width: 50%;
        padding: 3rem 5rem;
    }
}

@media (min-width: 1280px) {
    .admin-login-form-panel {
        padding: 3rem 6rem;
    }
}

.admin-login-form-wrapper {
    margin: 0 auto;
    width: 100%;
    max-width: 26rem;
}

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

.admin-login-logo {
    margin: 0 auto 1.5rem;
    height: 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login-logo img {
    height: 5rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.admin-login-subtitle {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 400;
}

.admin-error-box {
    margin-bottom: 1.5rem;
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 1rem;
}

.admin-error-content {
    display: flex;
    align-items: flex-start;
}

.admin-error-icon {
    height: 1.25rem;
    width: 1.25rem;
    color: #ef4444;
    flex-shrink: 0;
}

.admin-error-text {
    margin-left: 0.75rem;
}

.admin-error-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #991b1b;
    margin-bottom: 0.25rem;
}

.admin-error-messages {
    margin-top: 0.25rem;
}

.admin-error-messages p {
    font-size: 0.875rem;
    color: #b91c1c;
    margin: 0.25rem 0;
}

.admin-login-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
}

.admin-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.admin-input-wrapper {
    position: relative;
}

.admin-input-icon {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    padding-left: 1rem;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.admin-input-icon svg {
    height: 1.25rem;
    width: 1.25rem;
    color: #94a3b8;
}

.admin-input {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.admin-input::placeholder {
    color: #94a3b8;
}

.admin-input:hover {
    border-color: #cbd5e1;
}

.admin-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.admin-input:focus + .admin-input-icon svg {
    color: #3b82f6;
}

.admin-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: -0.25rem;
}

.admin-remember-wrapper {
    display: flex;
    align-items: center;
}

.admin-checkbox {
    height: 1rem;
    width: 1rem;
    accent-color: #2563eb;
    border: 1.5px solid #cbd5e1;
    border-radius: 0.25rem;
    cursor: pointer;
}

.admin-checkbox:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

.admin-checkbox-label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.admin-submit-btn {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1rem;
    margin-top: 0.5rem;
    border: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
    color: white;
    background: linear-gradient(to right, #2563eb, #1d4ed8);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-submit-btn:hover {
    background: linear-gradient(to right, #1d4ed8, #1e40af);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.admin-submit-btn:active {
    transform: translateY(1px);
}

.admin-submit-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.admin-btn-icon {
    position: absolute;
    left: 1rem;
    display: flex;
    align-items: center;
}

.admin-btn-icon svg {
    height: 1.125rem;
    width: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
}

.admin-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.admin-footer p {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.5;
}

/* Branding Panel */
.admin-branding-panel {
    display: none;
    background: #1563B4 !important;
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .admin-branding-panel {
        display: flex;
        width: 50%;
    }
}

.admin-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.08;
}

.admin-bg-pattern svg {
    width: 100%;
    height: 100%;
}

.admin-branding-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    color: white;
    width: 100%;
}

.admin-branding-wrapper {
    max-width: 30rem;
    margin: 0 auto;
}

.admin-branding-icon {
    margin-bottom: 2rem;
}

.admin-branding-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-branding-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.admin-branding-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.admin-branding-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.admin-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-feature {
    display: flex;
    align-items: center;
}

.admin-feature-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-feature-icon svg {
    width: 1rem;
    height: 1rem;
    color: white;
}

.admin-feature-text {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.admin-decorative-1 {
    position: absolute;
    top: -5rem;
    right: -5rem;
    width: 20rem;
    height: 20rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.admin-decorative-2 {
    position: absolute;
    bottom: -6rem;
    left: -6rem;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

/* Responsive improvements */
@media (max-width: 1023px) {
    .admin-login-form-panel {
        padding: 2rem 1.5rem;
    }
    
    .admin-login-logo {
        height: 4rem;
    }
    
    .admin-login-logo img {
        height: 4rem;
    }
}