/* Customer Profile Styles - Matching theme with small content sizes */
.customer-profile-page {
    min-height: calc(100vh - 110px);
    background: var(--secondary-light);
}

/* Page Header */
.customer-profile-page .page-header {
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.customer-profile-page .hero-title {
    font-size: 1.375rem; /* Match dashboard */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.customer-profile-page .hero-subtitle {
    font-size: 0.9375rem; /* Match body font size */
    color: var(--text-medium);
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0.75rem;
}

.profile-tab {
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 0.5rem 0.875rem; /* Reduced padding */
    font-size: 0.8125rem; /* Reduced font size */
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.profile-tab:hover {
    background: var(--secondary-light);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
}

.profile-tab.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.profile-tab i {
    font-size: 0.875rem; /* Reduced icon size */
}

/* Form Styles */
.dashboard-card .form-label {
    font-size: 0.8125rem; /* Reduced */
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-card .form-control,
.dashboard-card .form-select {
    font-size: 0.9375rem; /* Match body font size */
    padding: 0.5rem 0.75rem; /* Reduced padding */
    border: 1px solid var(--border-light);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dashboard-card .form-control:focus,
.dashboard-card .form-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 0.2rem rgba(77, 106, 146, 0.1);
    outline: none;
}

.dashboard-card .form-control:disabled {
    background: var(--tertiary-light);
    cursor: not-allowed;
}

.dashboard-card textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.dashboard-card small.text-muted {
    font-size: 0.75rem; /* Reduced */
    color: var(--text-medium);
    display: block;
    margin-top: 0.25rem;
}

.dashboard-card .text-danger {
    color: var(--accent-orange);
}

/* Buttons */
.dashboard-card .btn {
    font-size: 0.8125rem; /* Reduced */
    padding: 0.5rem 1rem; /* Reduced padding */
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dashboard-card .btn-primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.dashboard-card .btn-primary:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
}

.dashboard-card .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.dashboard-card .btn i {
    font-size: 0.875rem; /* Reduced icon size */
}

/* Alerts */
.alert {
    font-size: 0.9375rem; /* Match body font size */
    padding: 0.875rem 1rem; /* Reduced padding */
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    border-color: rgba(5, 150, 105, 0.2);
    color: var(--accent-green);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.2);
    color: var(--accent-orange);
}

.alert i {
    font-size: 0.9375rem; /* Match body font size */
}

.alert .btn-close {
    padding: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
}

.alert .btn-close:hover {
    opacity: 1;
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow-light);
}

.dashboard-card .card-header-section {
    padding: 1rem 1.25rem; /* Reduced padding */
    background: var(--primary-light);
    border-bottom: 1px solid var(--border-light);
}

.dashboard-card .card-header-section h4 {
    font-size: 1rem; /* Reduced */
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
}

.dashboard-card .card-header-section h4 i {
    color: var(--accent-blue);
    margin-right: 0.5rem;
    font-size: 0.9375rem;
}

.dashboard-card .card-body-section {
    padding: 1.25rem; /* Reduced padding */
}

/* Form Rows */
.dashboard-card .row.g-3 {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.dashboard-card .row.g-3 > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .customer-profile-page .hero-title {
        font-size: 1.25rem; /* Reduced */
    }

    .profile-tabs {
        gap: 0.375rem;
    }

    .profile-tab {
        padding: 0.4375rem 0.75rem; /* Reduced */
        font-size: 0.75rem; /* Reduced */
    }

    .profile-tab i {
        font-size: 0.8125rem; /* Reduced */
        margin-right: 0.375rem !important;
    }

    .dashboard-card .card-header-section {
        padding: 0.875rem 1rem; /* Reduced */
    }

    .dashboard-card .card-body-section {
        padding: 1rem; /* Reduced */
    }

    .dashboard-card .form-label {
        font-size: 0.75rem; /* Reduced */
    }

    .dashboard-card .form-control,
    .dashboard-card .form-select {
        font-size: 0.875rem; /* Reduced */
        padding: 0.4375rem 0.625rem; /* Reduced */
    }
}

