/*
|--------------------------------------------------------------------------
| ADMIN SETTINGS PAGE
|--------------------------------------------------------------------------
*/

.admin-settings-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px;
}


/*
|--------------------------------------------------------------------------
| PAGE HEADER
|--------------------------------------------------------------------------
*/

.settings-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.settings-page-header h1 {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 700;
}

.settings-page-header p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

.settings-header-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: #eef4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #2563eb;
}


/*
|--------------------------------------------------------------------------
| SETTINGS SECTION
|--------------------------------------------------------------------------
*/

.settings-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 25px;
    margin-bottom: 22px;
    box-shadow: 0 5px 22px rgba(15, 23, 42, 0.06);
}

.settings-section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid #eef0f3;
}

.settings-section-title h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

.settings-section-title p {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

.settings-section-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 13px;
    background: #f0f5ff;
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}


/*
|--------------------------------------------------------------------------
| GRID
|--------------------------------------------------------------------------
*/

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.settings-field.full-field {
    grid-column: 1 / -1;
}


/*
|--------------------------------------------------------------------------
| LABELS / INPUTS
|--------------------------------------------------------------------------
*/

.settings-field label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.settings-field input {
    width: 100%;
    height: 48px;
    border: 1px solid #dce1e7;
    border-radius: 11px;
    padding: 0 14px;
    font-size: 14px;
    color: #111827;
    background: #ffffff;
    outline: none;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.settings-field input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}

.settings-field small {
    font-size: 12px;
    line-height: 1.5;
    color: #8a94a3;
}


/*
|--------------------------------------------------------------------------
| MONEY INPUT
|--------------------------------------------------------------------------
*/

.money-input {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid #dce1e7;
    border-radius: 11px;
    background: #ffffff;
    overflow: hidden;
    transition: 0.2s ease;
}

.money-input:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.09);
}

.money-input span {
    height: 100%;
    min-width: 48px;
    padding: 0 14px;
    background: #f7f9fc;
    border-right: 1px solid #e4e8ee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #374151;
}

.money-input input {
    border: none;
    border-radius: 0;
    box-shadow: none;
    height: 100%;
}

.money-input input:focus {
    border: none;
    box-shadow: none;
}


/*
|--------------------------------------------------------------------------
| SAVE AREA
|--------------------------------------------------------------------------
*/

.settings-save-area {
    display: flex;
    justify-content: flex-end;
    padding: 5px 0 30px;
}

.settings-save-btn {
    min-height: 48px;
    border: none;
    border-radius: 11px;
    padding: 0 22px;
    background: #2563eb;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: 0.2s ease;
}

.settings-save-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(37, 99, 235, 0.22);
}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .admin-settings-page {
        padding: 22px 18px;
    }

    .settings-grid {
        grid-template-columns: 1fr;
    }

    .settings-field.full-field {
        grid-column: auto;
    }

}


@media (max-width: 600px) {

    .admin-settings-page {
        padding: 18px 14px;
    }

    .settings-page-header {
        align-items: flex-start;
    }

    .settings-page-header h1 {
        font-size: 23px;
    }

    .settings-header-icon {
        width: 46px;
        height: 46px;
        min-width: 46px;
    }

    .settings-section {
        padding: 18px 15px;
        border-radius: 15px;
    }

    .settings-section-title {
        align-items: flex-start;
    }

    .settings-save-btn {
        width: 100%;
    }

}