/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: #f5f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
}
.app-container {
    max-width: 560px;
    margin: 0 auto;
    padding: 20px 16px 40px;
    min-height: 100vh;
}
.header {
    text-align: center;
    margin-bottom: 28px;
    animation: fadeSlideDown 0.5s ease-out;
}
.logo {
    width: 80px;
    height: auto;
    margin-bottom: 12px;
    transition: transform 0.2s;
}
.logo:hover {
    transform: scale(1.02);
}
.title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #a41626;
    letter-spacing: -0.3px;
}
.subtitle {
    font-size: 0.9rem;
    color: #5b6e8c;
    border-left: 3px solid #a41626;
    padding-left: 12px;
    display: inline-block;
}
.form-card {
    background: #fff;
    border-radius: 0px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.02);
    padding: 24px 20px;
    border: 1px solid #eef2f6;
}
.input-group {
    margin-bottom: 20px;
}
label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #0f172a;
}
.required {
    color: #a41626;
}
.optional {
    color: #94a3b8;
    font-weight: normal;
    font-size: 0.75rem;
}
input, select, textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    border-radius: 0px;
    font-size: 1rem;
    transition: 0.2s;
    font-family: inherit;
}
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #a41626;
    box-shadow: 0 0 0 3px rgba(164,22,38,0.1);
}
.submit-btn {
    width: 100%;
    background: #a41626;
    border: none;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 0px;
    margin-top: 8px;
}
.submit-btn:hover {
    background: #8a1220;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(164,22,38,0.3);
}
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
.hidden {
    display: none;
}
.form-message {
    margin-top: 16px;
    font-size: 0.85rem;
    text-align: center;
    padding: 8px;
    animation: fadeIn 0.3s;
}
.success-message {
    background: #e6f7e6;
    color: #2e7d32;
    border-left: 3px solid #2e7d32;
}
.error-message {
    background: #fee9e6;
    color: #c62828;
    border-left: 3px solid #c62828;
}
.footer {
    text-align: center;
    margin-top: 36px;
    font-size: 0.75rem;
    color: #7c8ba0;
    border-top: 1px solid #eef2f6;
    padding-top: 20px;
}
.security-note {
    text-align: center;
    font-size: 0.75rem;
    color: #5b6e8c;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eef2f6;
}
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}