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

/* Body and Page Container */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.page-container {
    width: 90vw;
    max-width: 1200px;
    border-radius: 12px; /* Curved border for the page container */
    overflow: hidden; /* Ensure content doesn't overflow rounded corners */
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #c8102e;
    color: white;
    border-bottom: 2px solid #a00d24;
    border-radius: 12px 12px 0 0; /* Rounded top corners */
}

.header h1 {
    font-size: 2rem;
    font-weight: 700;
}

.header p {
    font-size: 1rem;
}

/* Buttons */
.btn-toggle, .btn-submit {
    font-size: 1rem;
    padding: 12px 24px;
    background-color: #c8102e;
    color: white;
    border: none;
    border-radius: 8px; /* Rounded corners for buttons */
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-toggle:hover, .btn-submit:hover {
    background-color: #a00d24;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Form Container */
.form-container {
    flex: 1 1 auto;
    margin-right: 20px;
}

/* Form Section */
.form-section {
    margin-bottom: 20px;
    padding: 20px;
    background-color: #292929;
    border-radius: 12px; /* Curved borders for form sections */
}

/* Form Elements */
.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

input[type="text"], input[type="url"], textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #333;
    border-radius: 8px; /* Rounded corners for input fields */
    background-color: #1e1e1e;
    color: #e0e0e0;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="file"] {
    border: none;
}

/* Messages */
.error-message, .success-message {
    border-radius: 8px; /* Rounded corners for messages */
    padding: 10px 20px;
}

.error-message {
    color: #e57373;
}

.success-message {
    color: #81c784;
}

/* Contact Section */
.contact-section {
    flex: 0 0 300px;
    background-color: #292929;
    padding: 20px;
    border-radius: 12px; /* Curved borders for contact section */
    border: 2px solid #c8102e;
}

.contact-section h2 {
    font-size: 1.5rem;
    color: #c8102e;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .page-container {
        width: 80vw;
    }
}

@media (min-width: 1200px) {
    .page-container {
        width: 70vw;
    }
}

.hidden {
    display: none;
}
