/**
 * CNPA Reset & Base Styles
 *
 * CSS reset and fundamental body/app-level styles.
 */

/* ========================================
   Reset & Base
   ======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--text-primary);
    background-color: var(--bg-body);
    min-height: 100vh;
}

/* ========================================
   Utility Classes
   ======================================== */

.hidden {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.d-block {
    display: block !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

/* Status text colors — used by JS to toggle document upload status */
.status-text--success {
    color: var(--success) !important;
}

.status-text--error {
    color: var(--error) !important;
}

/* Address form error message visibility */
.address-form__message--hidden {
    display: none !important;
}

.form-group--cep {
    flex: 0 0 180px;
}

.form-group--number {
    flex: 0 0 120px;
}

.form-group--flex-grow {
    flex: 1;
}

.alert--mb {
    margin-bottom: 20px;
}

.terms-description {
    color: var(--text-secondary);
    font-size: var(--text-sm);
}
