/**
 * Custom CSS for Accionistas Portal
 * Reduces font sizes across the portal
 */

/* Base font size reduction */
html {
    font-size: 13px; /* Default is usually 16px, reducing to 13px */
}

body {
    font-size: 0.8125rem; /* 13px */
}

/* Headings adjustment */
h1, .h1 { font-size: 1.75rem; }  /* ~28px instead of ~36px */
h2, .h2 { font-size: 1.5rem; }   /* ~24px instead of ~30px */
h3, .h3 { font-size: 1.25rem; }  /* ~20px instead of ~24px */
h4, .h4 { font-size: 1.125rem; } /* ~18px instead of ~20px */
h5, .h5 { font-size: 1rem; }     /* ~16px instead of ~18px */
h6, .h6 { font-size: 0.875rem; } /* ~14px instead of ~16px */

/* Card text */
.card-body {
    font-size: 0.8125rem;
}

/* Table text */
.table {
    font-size: 0.8125rem;
}

/* Form inputs */
.form-control,
.form-select,
.form-label {
    font-size: 0.8125rem;
}

/* Buttons */
.btn {
    font-size: 0.8125rem;
}

/* Navbar text */
.navbar-nav .nav-link {
    font-size: 0.8125rem;
}

/* Sidebar menu */
.navbar-menu .navbar-nav .nav-link {
    font-size: 0.8125rem;
}

/* Dropdown items */
.dropdown-item {
    font-size: 0.8125rem;
}

/* Badges */
.badge {
    font-size: 0.75rem;
}

/* Breadcrumb */
.breadcrumb-item {
    font-size: 0.8125rem;
}

/* Alerts */
.alert {
    font-size: 0.8125rem;
}

/* Pagination */
.pagination .page-link {
    font-size: 0.8125rem;
}

/* Modal content */
.modal-body,
.modal-header,
.modal-footer {
    font-size: 0.8125rem;
}

/* Stats cards */
.card-title {
    font-size: 0.9375rem;
}

/* Small text remains small */
small, .small {
    font-size: 0.75rem;
}

/* Badge soft colors - Custom badge styles */
.badge-soft-primary {
    color: #2c3a6b;
    background-color: rgba(64, 81, 137, 0.60);
    font-weight: 600;
}

.badge-soft-secondary {
    color: #495057;
    background-color: rgba(108, 117, 125, 0.60);
    font-weight: 600;
}

.badge-soft-success {
    color: #087f6a;
    background-color: rgba(10, 179, 156, 0.60);
    font-weight: 600;
}

.badge-soft-info {
    color: #1a6fa1;
    background-color: rgba(41, 156, 219, 0.60);
    font-weight: 600;
}

.badge-soft-warning {
    color: #c68d1b;
    background-color: rgba(247, 184, 75, 0.60);
    font-weight: 600;
}

.badge-soft-danger {
    color: #c4361d;
    background-color: rgba(240, 101, 72, 0.60);
    font-weight: 600;
}

.badge-soft-light {
    color: #495057;
    background-color: rgba(248, 249, 250, 0.60);
    font-weight: 600;
}

.badge-soft-dark {
    color: #000000;
    background-color: rgba(33, 37, 41, 0.60);
    font-weight: 600;
}

/* Badge standard styles */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

/* Background colors for solid badges */
.bg-primary-subtle {
    background-color: rgba(64, 81, 137, 0.18) !important;
}

.bg-success-subtle {
    background-color: rgba(10, 179, 156, 0.18) !important;
}

.bg-warning-subtle {
    background-color: rgba(247, 184, 75, 0.18) !important;
}

.bg-danger-subtle {
    background-color: rgba(240, 101, 72, 0.18) !important;
}

.bg-info-subtle {
    background-color: rgba(41, 156, 219, 0.18) !important;
}

/* Text colors */
.text-primary {
    color: #405189 !important;
}

.text-success {
    color: #0ab39c !important;
}

.text-warning {
    color: #f7b84b !important;
}

.text-danger {
    color: #f06548 !important;
}

.text-info {
    color: #299cdb !important;
}
