/* ==========================================================
   Web Page Styles - Updated
   ========================================================== */

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    padding: auto;
}

header a {
    color: #000;
    font-size: 1rem;
}

header .nav-item {
    padding: 10px 20px;
}

/* Sidebar Styles */
.sidebar-container {
    width: 25%;
    margin-left: 0;
    height: fit-content;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    background-color: #fff !important;
    border-radius: 0.75rem;
    padding: 1rem;
    justify-content: center;
    text-align: center;
}

.sidebar-container .sidebar-logo {
    border-radius: 0.75rem;
    width: 50%;
    height: auto;
    margin: 1rem auto 0 auto;
    padding-bottom: 0;
    object-fit: cover;
    margin-bottom: 1rem;
    border-bottom: none;
    box-shadow: none;
}

/* Card styling */
.card {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    background: #ffffff;
    margin-bottom: 3rem;
}

/* Headings */
.card h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* Form labels */
.form-label {
    font-weight: 500;
    color: #34495e;
}

/* Inputs & selects */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid #dfe6e9;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
}

.form-control:focus,
.form-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.2);
}

/* Textarea */
textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

/* Buttons */
.btn-primary {
    background: #3498db;
    border: none;
    border-radius: 2rem;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.25s ease-in-out, transform 0.1s;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #95a5a6;
    cursor: not-allowed;
}

/* Recaptcha alignment */
.g-recaptcha {
    margin: 1rem auto;
    display: inline-block;
}

/* Success & error messages */
.success-message {
    color: #27ae60;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.error-message {
    color: #e74c3c;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   Responsive Styles
---------------------------------------------------------- */

/* Hide sidebar and expand content on tablets and smaller */
@media (max-width: 992px) {
    .sidebar-container {
        display: none !important;
    }

    #main,
    .card {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 20px 15px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    #main {
        padding: 30px 15px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .card h1 {
        font-size: 1.5rem;
    }

    .btn-primary {
        width: 100%;
    }

    #main {
        padding: 20px 10px;
    }
}
