* {
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #f2f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-container {
    background: #ffffff;
    width: 420px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.form-container h2 {
    margin-bottom: 10px;
    color: #333;
}

.form-container p {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a90e2;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: #4a90e2;
    color: white;
    font-size: 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.submit-button:hover {
    background: #3b7dc4;
}

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

.back-link a {
    font-size: 13px;
    color: #4a90e2;
    text-decoration: none;
}

.back-link a:hover {
    text-decoration: underline;
}
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
}
.modal-content {
    background: white; padding: 30px; border-radius: 12px;
    text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    max-width: 400px; width: 90%;
}
.modal-icon { font-size: 50px; margin-bottom: 15px; }
.modal-subtext { color: #666; font-size: 0.9em; margin-top: 10px; }

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.55);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.loading-box {
    background: #fff;
    padding: 28px 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 14px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
