/* ===============================================
   RESPONSIVE STYLES FOR VOTING SYSTEM
   Optimized for all devices: phones, tablets, desktops
   Mobile-first approach with progressive enhancement
   =============================================== */

/* ===== BASE RESPONSIVE UTILITIES ===== */
.container-fluid-responsive {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

.row-responsive {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-responsive {
    flex: 1;
    padding: 0 15px;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive embeds */
.embed-responsive {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.embed-responsive::before {
    display: block;
    content: "";
}

.embed-responsive-16by9::before {
    padding-top: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== GENERAL MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    
    /* Improve text readability on mobile */
    body {
        font-size: 16px !important;
        line-height: 1.6;
    }
    
    /* Make page titles responsive */
    .page-header.title {
        font-size: 28px !important;
        margin-top: 10px;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    h1.title {
        font-size: 28px !important;
    }
    
    h3 {
        font-size: 18px !important;
    }
    
    h4 {
        font-size: 16px !important;
    }
    
    /* Improve container spacing on mobile */
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .content {
        padding: 10px !important;
    }
    
    /* Make alerts more compact on mobile */
    .alert {
        padding: 10px;
        margin-bottom: 15px;
        font-size: 14px;
    }
    
    .alert h4 {
        font-size: 16px !important;
        margin-top: 0;
    }
}

/* ===== LOGIN PAGE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    
    .login-box {
        width: 95% !important;
        margin: 5% auto !important;
    }
    
    .login-logo {
        font-size: 28px !important;
        margin-bottom: 20px;
    }
    
    .login-box-body {
        padding: 20px 15px !important;
    }
    
    .login-box-msg {
        font-size: 16px !important;
        margin-bottom: 20px;
    }
    
    .login-input {
        font-size: 16px !important;
        padding: 12px !important;
        height: 45px !important;
    }
    
    .login-btn {
        font-size: 16px !important;
        padding: 12px !important;
        height: 45px !important;
        width: 100% !important;
    }
    
    /* Full width button row on mobile */
    .login-page .row > .col-xs-4 {
        width: 100% !important;
    }
}

/* ===== BALLOT/VOTING PAGE MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    
    /* Position boxes */
    .position-box {
        margin-bottom: 20px !important;
    }
    
    /* Make candidate cards stack on mobile */
    #candidate_list ul {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    
    #candidate_list ul li {
        margin: 0 0 10px 0 !important;
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        padding: 10px !important;
        border: 1px solid #ddd !important;
        border-radius: 5px !important;
        flex-wrap: nowrap !important;
    }
    
    #candidate_list ul li > div:first-child,
    #candidate_list ul li > input:first-child {
        flex-shrink: 0 !important;
        margin-right: 10px !important;
    }
    
    #candidate_list ul li img.clist {
        width: 60px !important;
        height: 60px !important;
        margin-right: 10px !important;
        flex-shrink: 0 !important;
        object-fit: cover !important;
        border-radius: 5px !important;
    }
    
    #candidate_list ul li .cname.clist {
        flex: 1 !important;
        font-size: 14px !important;
        margin: 0 !important;
        text-align: left !important;
    }
    
    /* Candidate images - make them responsive */
    .candidate-image,
    img.cimage {
        width: 80px !important;
        height: 80px !important;
        object-fit: cover;
    }
    
    /* Candidate info text */
    .cname {
        font-size: 18px !important;
    }
    
    .votelist {
        font-size: 14px !important;
    }
    
    /* Radio buttons and checkboxes - make them larger for touch */
    input[type="radio"],
    input[type="checkbox"] {
        width: 24px !important;
        height: 24px !important;
        margin-right: 10px !important;
        cursor: pointer;
        transform: scale(1.5);
        margin-top: 5px;
    }
    
    /* Labels next to checkboxes */
    label {
        cursor: pointer;
        padding: 10px;
        display: inline-block;
    }
    
    /* iCheck customizations for mobile */
    .icheck-label {
        padding-left: 30px !important;
        font-size: 16px !important;
    }
    
    /* Make buttons larger and more touch-friendly */
    .btn {
        font-size: 16px !important;
        padding: 12px 20px !important;
        min-height: 45px !important;
        margin-bottom: 10px;
    }
    
    .btn-lg {
        font-size: 18px !important;
        padding: 15px 25px !important;
        min-height: 50px !important;
    }
    
    .btn-block {
        width: 100% !important;
        display: block !important;
    }
    
    /* Action buttons container */
    .ballot-actions {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px;
        border-top: 2px solid #ddd;
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
    
    /* Preview and submit buttons */
    #preview_ballot,
    #submit_ballot {
        width: 100% !important;
        margin-bottom: 10px;
        font-size: 18px !important;
        padding: 15px !important;
    }
}

/* ===== BALLOT PREVIEW PAGE MOBILE ===== */
@media (max-width: 768px) {
    
    /* Make preview cards more compact */
    .panel {
        margin-bottom: 15px;
    }
    
    .panel-heading h4 {
        font-size: 16px !important;
        margin: 5px 0;
    }
    
    .panel-body {
        padding: 10px !important;
    }
    
    /* Candidate media items in preview */
    .media {
        margin-bottom: 15px !important;
    }
    
    .media-left img {
        width: 60px !important;
        height: 60px !important;
    }
    
    .media-body {
        padding-left: 10px !important;
    }
    
    .media-heading {
        font-size: 16px !important;
    }
    
    /* Box components */
    .box {
        margin-bottom: 15px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    }
    
    .box-header {
        padding: 10px 15px !important;
    }
    
    .box-title {
        font-size: 16px !important;
    }
    
    .box-body {
        padding: 10px !important;
    }
    
    /* Confirmation buttons in preview */
    .confirm-actions {
        position: sticky;
        bottom: 0;
        background: white;
        padding: 15px;
        border-top: 2px solid #ddd;
        z-index: 100;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    }
}

/* ===== RECEIPT PAGE MOBILE ===== */
@media (max-width: 768px) {
    
    .receipt-container {
        padding: 10px !important;
    }
    
    .receipt-header {
        font-size: 18px !important;
        padding: 10px;
    }
    
    .receipt-code {
        font-size: 14px !important;
        word-break: break-all;
    }
    
    /* Download button */
    .download-receipt-btn {
        width: 100% !important;
        margin-top: 15px;
        font-size: 16px !important;
        padding: 12px !important;
    }
}

/* ===== NAVBAR MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    
    /* Top navigation bar */
    .navbar-header {
        padding: 10px 15px;
    }
    
    .navbar-brand {
        font-size: 18px !important;
        padding: 12px 15px !important;
    }
    
    /* Navbar buttons */
    .navbar-nav > li > a {
        padding: 15px !important;
        font-size: 16px !important;
    }
    
    /* Dropdown menus on mobile */
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        border: 0;
        box-shadow: none;
    }
    
    .navbar-nav .open .dropdown-menu {
        background-color: #f9f9f9;
    }
    
    .navbar-nav .open .dropdown-menu > li > a {
        padding: 15px 20px;
        font-size: 15px;
    }
}

/* ===== TABLE RESPONSIVENESS ===== */
@media (max-width: 768px) {
    
    /* Make tables scroll horizontally */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Adjust table text size */
    table {
        font-size: 14px !important;
    }
    
    table th,
    table td {
        padding: 8px !important;
        font-size: 13px !important;
    }
    
    /* Hide less important columns on mobile */
    .hidden-xs {
        display: none !important;
    }
}

/* ===== MODAL IMPROVEMENTS FOR MOBILE ===== */
@media (max-width: 768px) {
    
    .modal-dialog {
        width: 95% !important;
        margin: 10px auto !important;
    }
    
    .modal-content {
        border-radius: 8px;
    }
    
    .modal-header {
        padding: 15px !important;
    }
    
    .modal-title {
        font-size: 18px !important;
    }
    
    .modal-body {
        padding: 15px !important;
        max-height: calc(100vh - 200px);
        overflow-y: auto;
    }
    
    .modal-footer {
        padding: 10px 15px !important;
    }
    
    .modal-footer .btn {
        width: 100%;
        margin-bottom: 5px;
    }
}

/* ===== FORMS MOBILE OPTIMIZATION ===== */
@media (max-width: 768px) {
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-control {
        font-size: 16px !important;
        padding: 12px !important;
        height: 45px !important;
    }
    
    textarea.form-control {
        height: auto !important;
        min-height: 100px;
    }
    
    select.form-control {
        height: 45px !important;
    }
    
    label {
        font-size: 14px !important;
        margin-bottom: 5px;
    }
    
    .help-block {
        font-size: 13px;
    }
}

/* ===== COUNTDOWN TIMER MOBILE ===== */
@media (max-width: 768px) {
    
    #election-countdown {
        padding: 15px 10px !important;
    }
    
    .countdown-section {
        font-size: 14px !important;
        margin: 5px;
    }
    
    .countdown-number {
        font-size: 24px !important;
        font-weight: bold;
    }
    
    .countdown-label {
        font-size: 12px !important;
    }
}

/* ===== ADMIN PANEL MOBILE (BASIC) ===== */
@media (max-width: 768px) {
    
    /* Sidebar adjustments */
    .main-sidebar {
        padding-top: 50px;
    }
    
    /* Content wrapper */
    .content-wrapper {
        margin-left: 0 !important;
    }
    
    /* DataTables on mobile */
    .dataTables_wrapper {
        font-size: 12px;
    }
    
    .dataTables_filter input {
        width: 100% !important;
    }
    
    .dataTables_length select {
        width: 70px;
    }
}

/* ===== SMALL PHONES (< 480px) ===== */
@media (max-width: 480px) {
    
    body {
        font-size: 14px !important;
    }
    
    .page-header.title {
        font-size: 22px !important;
    }
    
    h1.title {
        font-size: 22px !important;
    }
    
    h3 {
        font-size: 16px !important;
    }
    
    .btn {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }
    
    .btn-lg {
        font-size: 16px !important;
        padding: 12px 20px !important;
    }
    
    /* Candidate cards even more compact */
    .candidate-image,
    img.cimage {
        width: 60px !important;
        height: 60px !important;
    }
    
    .cname {
        font-size: 16px !important;
    }
    
    .votelist {
        font-size: 13px !important;
    }
    
    /* Media items in preview */
    .media-left img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .media-heading {
        font-size: 14px !important;
    }
}

/* ===== LANDSCAPE MODE OPTIMIZATIONS ===== */
@media (max-width: 768px) and (orientation: landscape) {
    
    /* Reduce vertical spacing in landscape */
    .page-header {
        margin-top: 5px;
        margin-bottom: 10px;
    }
    
    .alert {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .ballot-actions,
    .confirm-actions {
        padding: 10px;
    }
}

/* ===== TOUCH-FRIENDLY IMPROVEMENTS ===== */
@media (hover: none) and (pointer: coarse) {
    
    /* Larger tap targets for touch devices */
    a, button, .btn, input[type="submit"] {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects on touch devices */
    .btn:hover {
        transform: none;
    }
    
    /* Better spacing for touch */
    .clickable-row,
    .btn,
    a.btn {
        margin: 5px 0;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (max-width: 768px) {
    
    /* Improve focus visibility on mobile */
    input:focus,
    select:focus,
    textarea:focus,
    button:focus {
        outline: 3px solid #3c8dbc;
        outline-offset: 2px;
    }
    
    /* Better contrast for text */
    .text-muted {
        color: #666 !important;
    }
    
    /* Skip to content link for accessibility */
    .skip-to-content {
        position: absolute;
        top: -40px;
        left: 0;
        background: #000;
        color: white;
        padding: 8px;
        text-decoration: none;
        z-index: 100;
    }
    
    .skip-to-content:focus {
        top: 0;
    }
}

/* =====================================================
   TABLET OPTIMIZATIONS (768px - 1024px)
   ===================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
    
    /* Container adjustments for tablets */
    .container {
        width: 95%;
        max-width: 960px;
    }
    
    /* Two-column layouts for tablets */
    .content-wrapper {
        padding: 20px;
    }
    
    /* Ballot page - 2 candidates per row */
    #candidate_list ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0;
        list-style: none;
    }
    
    #candidate_list ul li {
        margin: 0 !important;
        width: 100%;
        display: flex !important;
        align-items: center !important;
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
    }
    
    #candidate_list ul li img {
        margin: 10px 0 !important;
    }
    
    #candidate_list ul li .cname {
        margin-left: 10px !important;
        display: inline-block !important;
        vertical-align: middle !important;
    }
    
    /* Login box - centered with good width */
    .login-box {
        width: 450px !important;
        margin: 7.5% auto !important;
    }
    
    /* Forms - better spacing */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        font-size: 15px !important;
        padding: 10px !important;
        height: 42px !important;
    }
    
    /* Buttons - optimal size for tablets */
    .btn {
        font-size: 15px !important;
        padding: 10px 18px !important;
        min-height: 42px !important;
    }
    
    .btn-lg {
        font-size: 17px !important;
        padding: 12px 22px !important;
        min-height: 48px !important;
    }
    
    /* Tables - show more content */
    .table {
        font-size: 14px;
    }
    
    .table th,
    .table td {
        padding: 10px !important;
    }
    
    /* Modals - better size */
    .modal-dialog {
        width: 700px !important;
        margin: 30px auto !important;
    }
    
    /* Preview page - 2-column layout */
    .media {
        display: flex;
        align-items: center;
    }
    
    .media-left img {
        width: 90px !important;
        height: 90px !important;
    }
    
    /* Admin sidebar */
    .sidebar-mini.sidebar-collapse .content-wrapper {
        margin-left: 50px;
    }
    
    /* Card layouts - 2 columns */
    .box {
        margin-bottom: 20px;
    }
    
    /* Page titles */
    .page-header.title {
        font-size: 36px !important;
    }
    
    h1.title {
        font-size: 36px !important;
    }
    
    /* Navigation improvements */
    .navbar-nav > li > a {
        padding: 15px 18px !important;
        font-size: 15px !important;
    }
}

/* =====================================================
   DESKTOP OPTIMIZATIONS (1024px - 1366px)
   ===================================================== */

@media (min-width: 1024px) and (max-width: 1366px) {
    
    /* Container - use more screen space */
    .container {
        width: 90%;
        max-width: 1200px;
    }
    
    /* Ballot page - 3 candidates per row */
    #candidate_list ul {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 0;
    }
    
    #candidate_list ul li {
        margin: 0 !important;
        padding: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    #candidate_list ul li:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        transform: translateY(-2px);
    }
    
    /* Login box */
    .login-box {
        width: 500px !important;
    }
    
    /* Preview page - better layout */
    .col-sm-8 {
        width: 70%;
    }
    
    .col-sm-10 {
        width: 85%;
    }
    
    /* Modals */
    .modal-dialog {
        width: 800px !important;
    }
    
    /* Better spacing */
    .content {
        padding: 25px !important;
    }
    
    /* Admin panel optimizations */
    .content-wrapper {
        padding: 30px;
    }
    
    /* DataTables */
    .dataTables_wrapper {
        font-size: 14px;
    }
    
    /* Box layouts */
    .box-body {
        padding: 20px;
    }
}

/* =====================================================
   LARGE DESKTOP (1366px - 1920px)
   ===================================================== */

@media (min-width: 1366px) and (max-width: 1920px) {
    
    /* Full container width */
    .container {
        max-width: 1320px;
    }
    
    /* Ballot - 4 candidates per row */
    #candidate_list ul {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    /* Larger candidate images */
    #candidate_list ul li img.clist {
        width: 120px !important;
        height: 120px !important;
    }
    
    .cname {
        font-size: 20px !important;
    }
    
    /* Preview page */
    .col-sm-8 {
        width: 65%;
    }
    
    /* Better typography */
    body {
        font-size: 15px;
    }
    
    .page-header.title {
        font-size: 48px !important;
    }
    
    /* Admin dashboard - show more info */
    .info-box {
        margin-bottom: 20px;
    }
    
    /* Modal size */
    .modal-dialog {
        width: 900px !important;
    }
}

/* =====================================================
   ULTRA-WIDE SCREENS (>1920px)
   ===================================================== */

@media (min-width: 1920px) {
    
    /* Prevent excessive width */
    .container {
        max-width: 1600px;
    }
    
    .content-wrapper {
        max-width: 1800px;
        margin: 0 auto;
    }
    
    /* Ballot - 5 candidates per row */
    #candidate_list ul {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
    
    /* Larger elements */
    .page-header.title {
        font-size: 54px !important;
    }
    
    /* Better spacing for large screens */
    .content {
        padding: 40px !important;
    }
    
    /* Modal */
    .modal-dialog {
        width: 1000px !important;
    }
}

/* =====================================================
   RESPONSIVE GRID SYSTEM ENHANCEMENTS
   ===================================================== */

/* Responsive columns for all pages */
@media (min-width: 768px) {
    .col-tablet-6 {
        width: 50%;
        float: left;
        padding: 0 15px;
    }
    
    .col-tablet-4 {
        width: 33.333%;
        float: left;
        padding: 0 15px;
    }
    
    .col-tablet-3 {
        width: 25%;
        float: left;
        padding: 0 15px;
    }
}

@media (min-width: 1024px) {
    .col-desktop-8 {
        width: 66.666%;
        float: left;
    }
    
    .col-desktop-6 {
        width: 50%;
        float: left;
    }
    
    .col-desktop-4 {
        width: 33.333%;
        float: left;
    }
    
    .col-desktop-3 {
        width: 25%;
        float: left;
    }
}

/* =====================================================
   RESPONSIVE NAVIGATION IMPROVEMENTS
   ===================================================== */

@media (min-width: 1024px) {
    
    /* Better navbar spacing */
    .navbar-nav > li {
        margin: 0 5px;
    }
    
    .navbar-nav > li > a {
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }
    
    .navbar-nav > li > a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Dropdown improvements */
    .dropdown-menu {
        border-radius: 6px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.15);
        border: none;
    }
}

/* =====================================================
   RESPONSIVE CARD LAYOUTS
   ===================================================== */

@media (min-width: 768px) {
    .info-box-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .info-box-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1366px) {
    .info-box-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   RESPONSIVE TABLES
   ===================================================== */

@media (min-width: 1024px) {
    
    /* Better table layouts for desktop */
    .table-responsive {
        overflow-x: visible;
    }
    
    .table {
        font-size: 14px;
    }
    
    .table th,
    .table td {
        padding: 12px !important;
        vertical-align: middle;
    }
    
    /* DataTables enhancements */
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        margin-bottom: 15px;
    }
    
    .dataTables_wrapper .dataTables_paginate {
        margin-top: 15px;
    }
}

/* =====================================================
   RESPONSIVE FORMS
   ===================================================== */

@media (min-width: 768px) {
    
    /* Two-column forms on tablets */
    .form-horizontal .col-sm-6 {
        width: 50%;
        float: left;
        padding: 0 15px;
    }
    
    /* Better label alignment */
    .form-horizontal .control-label {
        text-align: right;
        padding-top: 7px;
    }
}

@media (min-width: 1024px) {
    
    /* Three-column forms on desktop */
    .form-row-triple .col-md-4 {
        width: 33.333%;
        float: left;
        padding: 0 15px;
    }
}

/* =====================================================
   PRINT STYLES (ALL DEVICES)
   ===================================================== */

@media print {
    
    /* Hide navigation and non-essential elements */
    .navbar,
    .sidebar,
    .main-header,
    .main-sidebar,
    .btn,
    .box-footer,
    .no-print {
        display: none !important;
    }
    
    /* Full width for printing */
    .content-wrapper,
    .container {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    /* Better text rendering */
    body {
        font-size: 12pt;
        color: #000;
    }
    
    /* Page breaks */
    .page-break {
        page-break-after: always;
    }
    
    /* Table improvements */
    table {
        border-collapse: collapse;
        width: 100%;
    }
    
    table th,
    table td {
        border: 1px solid #000;
        padding: 8px;
    }
}

/* =====================================================
   RESPONSIVE UTILITIES
   ===================================================== */

/* Hide/Show based on screen size */
@media (max-width: 767px) {
    .hidden-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hidden-tablet {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .hidden-desktop {
        display: none !important;
    }
    
    .visible-mobile {
        display: none !important;
    }
}

/* Responsive text alignment */
@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center !important;
    }
}

/* Responsive spacing */
.mb-responsive {
    margin-bottom: 15px;
}

@media (min-width: 768px) {
    .mb-responsive {
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .mb-responsive {
        margin-bottom: 30px;
    }
}

/* ===== ELECTION SELECTION STYLES ===== */
.list-group-item {
    padding: 15px;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f5f5f5;
    transform: translateX(5px);
}

.list-group-item-heading {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 18px;
}

.list-group-item-text {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .list-group-item-heading {
        font-size: 16px;
    }
    
    .badge {
        display: block;
        float: none !important;
        margin-top: 5px;
        width: fit-content;
    }
}

