﻿/* Body & Typography Overrides */
body {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    /* Increased base font size as requested */
    color: #333;
    background-color: #f5f5f5;
    /* Light grey background for the whole page */
}

/* Ensure MDB containers respect larger fonts */
.container {
    max-width: 1400px;
}

/* Header Adjustments */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700 !important;
}

/* Form Section Titles */
.form-section-title {
    color: #c00000;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 1.25rem;
}

/* MDB Input Label Fix for larger font */
.form-label {
    font-size: 1.1rem;
    /* Slightly larger labels */
}

/* Harmonized Form Controls */
.form-control-lg,
.form-select-lg {
    font-size: 1.1rem !important;
    padding: 0.6rem 1rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #bdbdbd !important;
    height: 3.5rem !important;
    width: 100%;
    transition: all 0.2s ease-in-out;
}

    .form-control:focus,
    .form-control-lg:focus,
    .form-select-lg:focus {
        border-color: #3b71ca !important;
        box-shadow: 0 0 0 0.25rem rgba(59, 113, 202, 0.25) !important;
        outline: none !important;
    }


/* Custom Red Button Override if MDB danger isn't exact match */
.btn-danger {
    background-color: #c00000 !important;
    border-color: #c00000 !important;
}

    .btn-danger:hover {
        background-color: #a00000 !important;
        border-color: #a00000 !important;
    }

.text-danger {
    color: #c00000 !important;
}

/* Custom File Upload Component */
.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 150px;
    border: 2px dashed #c00000;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #fff5f5;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

    .file-upload-wrapper:hover {
        background-color: #ffe0e0;
        border-color: #a00000;
        transform: translateY(-2px);
    }

    .file-upload-wrapper input[type="file"] {
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        cursor: pointer;
    }

.upload-icon {
    font-size: 3rem;
    color: #c00000;
    margin-bottom: 10px;
}

.upload-text {
    font-weight: 500;
    color: #555;
    text-align: center;
}

/* Table Enhancements */
.table thead th {
    font-size: 1rem;
    font-weight: 800;
    color: #000;
}

.table td {
    font-size: 1.05rem;
    /* Larger cell text */
}

/* Phone Number Emphasis */
.phone-number {
    font-weight: 700;
    color: #000;
}

/* Toast Override */
.toast-container {
    z-index: 1050;
}

/* MDB Select Styling to match form-control-lg */
.select-input,
.select-wrapper .form-control {
    font-size: 1.1rem !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    line-height: 2.15;
}

.select-arrow {
    top: 14px;
}

/* Ensure labels for fields are always above */
.field-group label:not(.form-check-label) {
    display: block;
    margin-bottom: 0.2rem;
}
