:root {
    --bg-light: #f8f9fa;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    font-family: var(--font-primary), sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px var(--shadow);
    overflow: hidden;
}

.card-body {
    padding: 30px;
}

form {
    margin-top: 30px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 10px;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
}

.invalid-feedback {
    color: red;
    font-size: 0.85rem;
    margin-top: 5px;
}

#passwordValidation small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
}

.alert {
    background: #f8d7da;
    color: #842029;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
}

button {
    width: 100%;
    padding: 12px;
    background-color: var(--color-primary);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background-color: #0b5ed7;
}

.text-center {
    text-align: center;
    margin-top: 15px;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.small {
    font-size: 0.85rem;
}

.verify-input {
    width: 40px;
    height: 50px;
    text-align: center;
    font-size: 24px;
}

/* Validation Styling */
.invalid-feedback {
    color: #dc3545;
}

.d-none { display: none; }
.d-flex { display: flex; }
.justify-space-between { justify-content: space-between; }

.code-verification {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

input, textarea, select {
    font-size: 16px !important;
}