:root {
    --primary-color: #ff6d5a;
    --primary-hover: #e65b4a;
    --bg-color: #fbfcfe;
    --card-bg: #ffffff;
    --text-color: #525356;
    --label-color: #555555;
    --input-border: #dbdfe7;
    --input-focus: #5a4cc2;
    --shadow: 0 4px 16px rgba(99, 77, 255, 0.06);
    --radius: 8px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Assistant', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 448px;
}

.card {
    background: var(--card-bg);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--input-border);
}

.header {
    text-align: center;
    margin-bottom: 32px;
}

.header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.header p {
    font-size: 21px;
    color: #7e8186;
}

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

label {
    display: block;
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--label-color);
}

input {
    width: 100%;
    padding: 12px 16px;
    font-size: 21px;
    border: 1px solid var(--input-border);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--input-focus);
    box-shadow: 0 0 0 3px rgba(90, 76, 194, 0.1);
}

button {
    width: 100%;
    padding: 14px;
    font-size: 23px;
    font-weight: 700;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 10px;
}

button:hover {
    background-color: var(--primary-hover);
}

button:active {
    transform: scale(0.98);
}

.footer-link {
    text-align: center;
    margin-top: 20px;
    font-size: 18px;
}

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

.footer-link a:hover {
    text-decoration: underline;
}

/* Processing Overlay */
.processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.processing-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 109, 90, 0.2);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.processing-text {
    font-size: 23px;
    font-weight: 600;
    color: var(--text-color);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
