/* Custom Lightweight Grid for Nephro-Connect */
* {
    box-sizing: border-box;
}

.container {
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* Flex Utilities */
.d-flex {
    display: flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}

.w-100 {
    width: 100% !important;
}

/* Grid Columns */
.col-md-4 {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 15px;
}

.col-md-5 {
    flex: 0 0 41.6%;
    max-width: 41.6%;
    padding: 0 15px;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

.col-lg-10 {
    flex: 0 0 83.3%;
    max-width: 83.3%;
    padding: 0 15px;
}

.col-lg-11 {
    flex: 0 0 91.6%;
    max-width: 91.6%;
    padding: 0 15px;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
}

/* Responsive */
@media (max-width: 767px) {

    .col-md-4,
    .col-md-5,
    .col-md-6,
    .col-md-12,
    .col-lg-10,
    .col-lg-11 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 15px;
    }
}

/* Text Utilities */
.text-center {
    text-align: center !important;
}
.text-end {
    text-align: right !important;
}

.fw-bold {
    font-weight: 700 !important;
}

/* Margin Utilities */
.mb-0 {
    margin-bottom: 0 !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.me-2 {
    margin-right: 10px !important;
}

/* Padding Utilities */
.pb-2 {
    padding-bottom: 0.5rem !important;
}

.pb-3 {
    padding-bottom: 1rem !important;
}

/* Border Utilities */
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}

/* Images */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Labels */
.form-label {
    display: block;
    margin-bottom: 6px;
}

/* File Guidelines */
.file-guideline {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}