:root {
    --primary-color: #c0392b;
    /* Deep Red from Logo/Theme */
    --primary-hover: #a93226;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --muted-color: #666;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.register-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 500px;
    position: relative;
}

.register-header {
    text-align: center;
    margin-bottom: 30px;
}

.register-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.register-header p {
    color: var(--muted-color);
    font-size: 14px;
    margin: 0;
}

/* Steps */
.step-container {
    display: none;
}

.step-container.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #444;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

select.form-input {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    color: var(--text-color);
}

select.form-input:invalid,
select.form-input option[value=""][disabled] {
    color: #999;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-primary:disabled {
    background: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
}

.secondary-action {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.secondary-action a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Intl Tel Input Override */
.iti {
    width: 100%;
}

/* Security Note & Icons */
.security-note {
    background: var(--light-gray);
    border-left: 4px solid var(--success-color);
    padding: 12px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.security-icon {
    color: var(--success-color);
    margin-top: 3px;
}

/* Password Strength */
.password-strength {
    height: 4px;
    margin-top: 8px;
    border-radius: 2px;
    transition: all 0.3s;
    width: 0%;
}

.strength-weak {
    background: #e74c3c;
    width: 33%;
}

.strength-med {
    background: #f1c40f;
    width: 66%;
}

.strength-strong {
    background: var(--success-color);
    width: 100%;
}

/* Loader */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-msg {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

/* Utility Classes for extraction */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-3-px {
    margin-top: 3px;
}

.icon-circle-lg {
    background: #e8f8f5;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.icon-success-lg {
    font-size: 24px;
    color: var(--success-color);
}

.text-muted-sm {
    font-size: 14px;
    color: var(--muted-color);
}

.text-muted-xs {
    font-size: 13px;
    color: #7f8c8d;
}

.text-success-bold {
    font-size: 14px;
    font-weight: 600;
    color: var(--success-color);
}

.otp-input {
    text-align: center;
    letter-spacing: 5px;
    font-size: 20px;
}

.otp-actions {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-muted {
    color: var(--muted-color);
    text-decoration: none;
}

.btn-link {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
}

.flex-gap-15 {
    display: flex;
    gap: 15px;
}

.flex-1 {
    flex: 1;
}

.relative {
    position: relative;
}

.eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 5px;
    /* Increase touch target */
    display: flex;
    align-items: center;
    justify-content: center;
}

.input-hint {
    font-size: 12px;
    color: #7f8c8d;
    margin-top: 5px;
}

/* Extracted inline styles */
.google-auth-container {
    margin-bottom: 20px;
}

.google-signin-wrapper {
    display: flex;
    justify-content: center;
}

.divider-wrapper {
    margin: 20px 0;
    display: flex;
    align-items: center;
    opacity: 0.6;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: #ccc;
}

.divider-text {
    padding: 0 10px;
    font-size: 12px;
    font-weight: 600;
}

.hidden {
    display: none;
}

.label-optional {
    font-weight: 400;
    color: #999;
    font-size: 12px;
}

.label-required {
    color: var(--primary-color);
    font-weight: 600;
}