/* Candidate Register Page Styles */

.register-header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    background: var(--main-color, #f4511e);
    padding: 24px;
    border-radius: 12px;
}

.register-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.register-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.register-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.register-section {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.register-section h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.form-group-custom {
    margin-bottom: 16px;
}

.form-group-custom label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
}

.form-group-custom input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group-custom input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-row-full {
    grid-column: 1 / -1;
}

.google-btn-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: white;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #3c4043;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.google-btn-large:hover {
    border-color: #1a73e8;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.25);
}

.google-btn-large i {
    color: #4285f4;
    margin-right: 10px;
    font-size: 1.2rem;
}

.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.divider span {
    background: white;
    padding: 0 12px;
    font-size: 0.9rem;
    color: #999;
    position: relative;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--main-color, #f4511e);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(244, 81, 30, 0.35);
}

.recaptcha-container {
    margin: 24px 0;
    display: flex;
    justify-content: center;
}

.error-messages {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 4px;
}

.switch-link {
    text-align: center;
    margin-top: 16px;
}

.switch-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 0.95rem;
}

.switch-link a:hover {
    text-decoration: underline;
}

.benefits-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.benefits-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
    color: #555;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list i {
    color: #28a745;
    margin-right: 10px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .register-header h1 {
        font-size: 1.8rem;
    }

    .register-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .register-section {
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}
