body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    color: #333;
}

header {
    background-color: #00205b;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-logo {
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.2;
}

.header-title {
    font-size: 1.5rem;
    font-weight: normal;
}

.container {
    max-width: 900px;
    width: 95%;
    margin: 20px auto;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media (min-width: 768px) {
    .container {
        margin: 40px auto;
        width: 100%;
    }
}

.panel-heading {
    background-color: #002b5e;
    color: white;
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: bold;
}

.panel-body {
    padding: 15px;
}

@media (min-width: 768px) {
    .panel-body {
        padding: 20px 30px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    align-items: flex-start;
    gap: 8px;
}

@media (min-width: 768px) {
    .form-group {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
}

.form-label {
    flex: 0 0 auto;
    font-weight: bold;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .form-label {
        flex: 0 0 250px;
        font-size: 1rem;
    }
}

.form-label .required {
    color: #cc0000;
}

.form-input-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

select, input[type="text"], input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

@media (min-width: 768px) {
    select, input[type="text"], input[type="date"] {
        width: 60%;
        padding: 8px;
    }
}

.help-icon {
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

.terms-group {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.terms-link {
    color: #0066cc;
    text-decoration: underline;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-container input {
    width: auto;
    margin-top: 4px;
}

.panel-footer {
    background-color: #f5f5f5;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #ccc;
}

@media (min-width: 768px) {
    .panel-footer {
        padding: 15px 30px;
    }
}

.btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

.btn-clear {
    background-color: #e0e0e0;
    color: #333;
}

.btn-submit {
    background-color: #0066cc;
    color: white;
    font-weight: bold;
}

.footer {
    background-color: #002b5e;
    color: white;
    text-align: center;
    padding: 20px 15px;
    margin-top: 50px;
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer a {
    color: white;
    text-decoration: none;
    margin: 5px 10px;
    display: inline-block;
}

/* Header Responsiveness */
header {
    background-color: #00205b;
    color: white;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

@media (min-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.header-left {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

@media (min-width: 768px) {
    .header-left {
        justify-content: flex-start;
    }
}

.header-logo {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .header-logo {
        font-size: 1.2rem;
    }
}

.header-title {
    font-size: 1.2rem;
    font-weight: normal;
}

@media (min-width: 768px) {
    .header-title {
        font-size: 1.5rem;
    }
}
