﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.banner h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.banner h2 {
    font-size: 1.5em;
    font-weight: normal;
}

/* Main Content */
.main-content {
    padding: 30px;
    min-height: 600px;
}

/* Registration Form Styles */
.registration-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

    .form-section h3 {
        color: #667eea;
        margin-bottom: 20px;
        border-bottom: 2px solid #667eea;
        padding-bottom: 10px;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #555;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group select {
        width: 100%;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        font-size: 14px;
    }

        .form-group input[type="text"]:focus,
        .form-group input[type="email"]:focus,
        .form-group select:focus {
            border-color: #667eea;
            outline: none;
        }

    .form-group .asp-textbox,
    .form-group .asp-dropdown {
        width: 100%;
    }

/* File Upload */
.file-upload {
    padding: 10px;
    border: 2px dashed #ddd;
    border-radius: 4px;
    background-color: #fafafa;
}

/* Checkbox and Undertaking */
.undertaking-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

    .undertaking-section label {
        font-weight: normal;
        margin-left: 5px;
    }

/* Buttons */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #667eea;
    color: white;
}

    .btn-primary:hover {
        background-color: #5568d3;
    }

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

    .btn-secondary:hover {
        background-color: #5a6268;
    }

.button-group {
    text-align: center;
    margin-top: 30px;
}

/* Information Section */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #dee2e6;
    transition: transform 0.3s;
}

    .info-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .info-card h4 {
        color: #667eea;
        margin-bottom: 10px;
    }

.info-link {
    color: #667eea;
    text-decoration: none;
    font-weight: bold;
}

    .info-link:hover {
        text-decoration: underline;
    }

/* Results Section */
.results-section {
    margin: 30px 0;
    text-align: center;
}

.results-dropdown {
    width: 300px;
    padding: 10px;
    margin: 10px auto;
    display: block;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
}

/* Validation Messages */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.success-message {
    color: #28a745;
    padding: 15px;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    margin: 20px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner h1 {
        font-size: 1.8em;
    }

    .banner h2 {
        font-size: 1.2em;
    }

    .main-content {
        padding: 15px;
    }

    .info-section {
        grid-template-columns: 1fr;
    }
}
