.candidate-register-page {
    min-height: 70vh;
    padding: 40px 15px 60px;
    background: #f4f7fb;
}

.candidate-register-card {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(15, 76, 129, 0.08);
    padding: 28px 24px 24px;
}

.candidate-register-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.candidate-register-header .icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #e8f2ff;
    color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.candidate-register-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a73e8;
    margin: 0;
}

.candidate-register-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 22px 54px;
}

.candidate-field {
    margin-bottom: 16px;
}

.candidate-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.candidate-field label .required {
    color: #ef4444;
}

.candidate-input-wrap {
    position: relative;
}

.candidate-input-wrap i.field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 14px;
    z-index: 2;
}

.candidate-input-wrap input,
.candidate-input-wrap select {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0 14px 0 42px;
    font-size: 14px;
    color: #111827;
    background: #fff;
    appearance: none;
}

.candidate-input-wrap select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239ca3af' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.candidate-input-wrap input:focus,
.candidate-input-wrap select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.12);
}

.candidate-upload-box {
    border: 2px dashed #b9d6ff;
    border-radius: 12px;
    padding: 28px 16px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.candidate-upload-box:hover {
    border-color: #1a73e8;
    background: #f8fbff;
}

.candidate-upload-box .upload-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #e8f2ff;
    color: #1a73e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.candidate-upload-box .upload-title {
    color: #1a73e8;
    font-weight: 600;
    margin-bottom: 4px;
}

.candidate-upload-box .upload-hint {
    color: #9ca3af;
    font-size: 12px;
}

.candidate-upload-box input[type="file"] {
    display: none;
}

.candidate-upload-preview {
    margin-top: 10px;
    max-height: 120px;
    border-radius: 8px;
    display: none;
}

.candidate-submit-btn {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 10px;
    background: #1a73e8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.candidate-submit-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.candidate-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 16px;
}

.candidate-alert.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.candidate-alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.candidate-otp-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.candidate-otp-modal.show {
    display: flex;
}

.candidate-otp-card {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    padding: 24px;
}

.candidate-otp-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #111827;
}

.candidate-otp-card p {
    margin: 0 0 16px;
    color: #6b7280;
    font-size: 13px;
}

.candidate-otp-input {
    width: 100%;
    height: 46px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    letter-spacing: 6px;
    margin-bottom: 12px;
}

.candidate-otp-actions {
    display: flex;
    gap: 10px;
}

.candidate-otp-actions button {
    flex: 1;
    height: 42px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.candidate-otp-verify {
    background: #1a73e8;
    color: #fff;
}

.candidate-otp-cancel {
    background: #f3f4f6;
    color: #374151;
}

.candidate-otp-timer {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 10px;
}

.candidate-otp-timer a {
    color: #1a73e8;
    cursor: pointer;
    text-decoration: none;
}
