/* Login Page Styles - ZECHL Recruitment System */

:root {
    --zechl-blue: #0052CC;
    --zechl-blue-dark: #003D99;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0fe 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--zechl-blue) 0%, transparent 70%);
    opacity: 0.03;
    animation: pulse 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.03; }
    50% { transform: scale(1.1); opacity: 0.05; }
}

.login-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    z-index: 10;
    position: relative;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--zechl-blue) 0%, var(--zechl-blue-dark) 100%);
    clip-path: polygon(70% 0, 100% 0, 100% 100%, 30% 100%);
    z-index: 1;
    opacity: 0.95;
}

.auth-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.logo-img {
    max-width: 200px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
}

.form-control {
    border-radius: 12px;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
    border-color: var(--zechl-blue);
    background-color: #fff;
    outline: none;
}

.form-check-input:checked {
    background-color: var(--zechl-blue);
    border-color: var(--zechl-blue);
}

.form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(0, 82, 204, 0.1);
    border-color: var(--zechl-blue);
}

.btn-primary {
    background: linear-gradient(135deg, var(--zechl-blue) 0%, var(--zechl-blue-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::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: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 82, 204, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

a {
    color: var(--zechl-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--zechl-blue-dark);
    text-decoration: underline;
}

.divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    position: relative;
    background: white;
    padding: 0 15px;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 576px) {
    .login-card {
        padding: 30px 25px;
        margin: 20px;
    }
}
