/* Modern Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a; /* Fallback */
    background-image: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #f1f5f9;
}

/* --- HEADER STYLES --- */
header {
    background-color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(8px); /* Keeps header clean over pattern */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    z-index: 10;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: #4f46e5;
    letter-spacing: -0.5px;
}

.nav-links {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

/* --- MAIN CONTENT WINDOW --- */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Container Card with Frosted Glassmorphism */
.form-container {
    /* Using semi-transparent white combined with a deep blur */
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); /* Safari Support */
    
    width: 100%;
    max-width: 550px;
    padding: 10px 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

/* Heading Style */
.form-container h2 {
    color: #1e293b;
    margin-bottom: 4px;
    font-size: 24px;
    font-weight: 600;
}

.form-container p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 5px;
}

/* Form Grouping */
.form-group {
    margin-bottom: 10px;
    display: flex;
}

/* Labels */
.form-group label {
    display: block;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

/* Input Fields */
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    color: #334155;
    background-color: rgba(248, 250, 252, 0.8);
    transition: all 0.2s ease-in-out;
    outline: none;
}

/* Input Focus States */
.form-group input:focus, 
.form-group textarea:focus {
    border-color: #4f46e5;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Textarea specific sizing */
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Action Button */
.submit-btn {
    width: 100%;
    background-color: #4f46e5;
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-btn:hover {
    background-color: #4338ca;
}

.submit-btn:active {
    background-color: #3730a3;
}
.submit-btn:disabled {
    opacity: 0.4;
}


/* --- FOOTER STYLES --- */
footer {
    background-color: rgba(255, 255, 255, 0.85);
    color: #1e293b;
    padding: 20px;
    font-size: 13px;
    letter-spacing: 0.3px;
    z-index: 10;
    backdrop-filter: blur(8px); 
}
footer a{
    text-decoration: none;
    color: #1e293b;
}