/* Register 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%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -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; }
}

.register-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 600px;
    padding: 45px;
    z-index: 10;
    position: relative;
    margin: 20px auto;
}

.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(60% 0, 100% 0, 100% 100%, 20% 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;
}

.logo {
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -1px;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.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;
}

.input-group-text {
    border-radius: 12px 0 0 12px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-right: none;
    color: #64748b;
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.input-group:focus-within .input-group-text {
    border-color: var(--zechl-blue);
    background-color: #fff;
    color: var(--zechl-blue);
}

.input-group:focus-within .form-control {
    border-left: 1px solid var(--zechl-blue);
}

.btn-primary {
    background: linear-gradient(135deg, var(--zechl-blue) 0%, var(--zechl-blue-dark) 100%);
    border: none;
    border-radius: 12px;
    padding: 14px;
    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);
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
}

.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);
}

.password-strength {
    height: 4px;
    border-radius: 2px;
    background: #e2e8f0;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-weak { width: 33%; background: #ef4444; }
.strength-medium { width: 66%; background: #f59e0b; }
.strength-strong { width: 100%; background: #10b981; }

.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;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, rgba(0, 82, 204, 0.1) 0%, rgba(0, 61, 153, 0.15) 100%);
    color: var(--zechl-blue);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 82, 204, 0.2);
}

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;
}

.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
}

@media (max-width: 576px) {
    .register-card {
        padding: 30px 25px;
    }

    body {
        padding: 20px 10px;
    }
}
