/*
 * forms.css - Form and Input Styling
 *
 * Purpose: All form-related styles including:
 *   - Form layout and alignment
 *   - Input fields and field groups
 *   - Form validation messages (error, success, warning)
 *   - User account forms (login, registration, profile)
 *   - Subscribe forms
 *   - GHG input forms
 *   - Form buttons
 *
 * Used across: Account pages, input section, newsletter subscription
 */

/* ==========================================================================
   Form Alignment
   ========================================================================== */

.form-centered {
    text-align: center;
}

.form-left {
    text-align: left;
}

/* ==========================================================================
   Form Messages
   ========================================================================== */

.form-error {
    font-weight: 600;
    color: red;
}

.form-success {
    font-weight: 600;
    color: green;
}

.form-warning {
    font-weight: 600;
    color: orange;
}

/* ==========================================================================
   Subscribe Form
   ========================================================================== */

.subscribe-form {
    text-align: center;
}

.subscribe-message-error {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

.subscribe-message-success {
    color: green;
    font-size: 14px;
    margin-top: 10px;
}

/* ==========================================================================
   Input Tables
   ========================================================================== */

.input-table {
    border: 1px solid grey;
    width: 100%;
}

.input-table th {
    background-color: lightgrey;
    color: black;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.input-table td {
    text-align: center;
    vertical-align: middle;
}

.input-table-bordered td,
.input-table-bordered th {
    border: 1px solid grey;
}

/* ==========================================================================
   GHG Form
   ========================================================================== */

.ghg-form-table {
    border: 1px solid grey;
    width: 100%;
    border-collapse: collapse;
}

.ghg-form-table th {
    background-color: lightgrey;
    color: black;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
    border: 1px solid grey;
    padding: 8px;
}

.ghg-form-table td {
    text-align: center;
    vertical-align: middle;
    border: 1px solid grey;
    padding: 8px;
}

/* ==========================================================================
   Form Section States
   ========================================================================== */

.form-section-active {
    background: lightgrey;
}

.form-section-inactive {
    background: white;
}

/* ==========================================================================
   Field Groups
   ========================================================================== */

.field-group {
    margin-bottom: 1em;
}

.field-label {
    font-weight: bold;
    margin-bottom: 0.5em;
}

.field-help-text {
    font-size: 0.85em;
    color: #666;
    margin-top: 0.25em;
}

.field-required::after {
    content: " *";
    color: red;
}

/* ==========================================================================
   Form Buttons
   ========================================================================== */

.form-button-primary {
    background-color: #007bff;
    color: white;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.form-button-secondary {
    background-color: #6c757d;
    color: white;
    padding: 0.5em 1em;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* ==========================================================================
   User Account Forms (merged from account.css)
   ========================================================================== */

.user_card {
    display: flex;
    flex-direction: column;
    padding: 10px;
    border-radius: 5px;
    border-color: #2ebaae;
    border-width: 2px;
    border-style: solid;
}

.register-button {
    margin: 20px 20px;
}

.input-group {
    display: flex;
    flex-direction: row;
    font-size: 1.5em;
    padding: 10px 30px 10px 10px;
}

.account-input {
    display: flex;
    width: 100%;
}

.error-msg {
    color: red;
}

.icon-container {
    background: #2ebaae !important;
    color: white !important;
    vertical-align: middle;
    padding: 1px 7px 1px 7px;
}

.form_container {
    margin-top: 20px;
}

#form-title {
    color: #fff;
}

.login_btn {
    width: 100%;
    background: #33ccff !important;
    color: white !important;
}

.login_btn:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.login_container {
    padding: 0 2rem;
}

.input-group-text {
    border: 0 !important;
    border-radius: 0.25rem 0 0 0.25rem !important;
}

.input_user,
.input_pass:focus {
    box-shadow: none !important;
    outline: 0px !important;
}

.essai1 {
    display: flex;
    flex-direction: row;
    font-size: 50px;
}
