#meal-table select {
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    height: 45px;
    color: #4e4e4e;
}
#meal-table tr, #meal-table option, #meal-table td {
    font-size: 14px;
    font-weight: 400;
}
.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th {
	border: none;
    padding: 0px 10px;
}
#meal-table select[disabled] {
    height: 45px;
    background: #f3f5fe;
    color: #525252;
    padding-left: 10px;
}
#submit-form {
	width: 49.4%;
	float: left;
}
button#close-card {
	position: relative;
	width: 49.4%;
	float: right;
}
.button-wrapers {
	white-space: nowrap;
}
.jumbotron {
	border: none;
    background: #fff;
    border-radius: 1px !important;
    box-shadow: 0px 0px 9px 1px #525252;
}

.table, .table tr, .table th, .table td {
    border: none !important;
}
#meal-table th {
	background: none;
	color: #000;
	text-align: left;
	padding-left: 10px;
}
#day-date {
	text-align: left;
}
#new-logo-wrapper {
	float: right;
	display: inline-block;
}
#new-logo-wrapper img {
	position: relative;
	bottom: 10px;
}
#user-headline {
	display: inline-block;
	float: left;
}
div#user-headline, div#user-headline label {
	width: auto;
}

.modal {
  text-align: center;
}


@media screen and (min-width: 768px) { 
  .modal:before {
    display: inline-block;
    vertical-align: middle;
    content: " ";
    height: 100%;
  }
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.scs-dropdown-list {
    border: 1px solid #d0d0d0;
    border-radius: 2px;
    height: 45px;
    color: #4e4e4e;
    background: white;
    padding: 10px;
    text-align: left;
    cursor: pointer;
}
.scs-dropdown-list .selected-meal {
	font-size: 14px !important;
    text-align: left !important;
    color: #4e4e4e !important;
    cursor: pointer;    
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.modal-content {
	padding: 20px;
}
.modal-content .img-circle {
	width: 90px;
	height: 90px;
}
#meal-media-list li {
	cursor: pointer;    
	box-shadow: 0px 3px 3px -3px;
	padding: 10px;
}
button.close {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 7px 15px !important;
}
.scs-dropdown-list.disabled {
	background: #f3f5fe;
	user-select: none;
	cursor: no-drop;
}
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    text-indent: 1px;
    text-overflow: '';
}

.border-green {
	border-left: 6px solid #94d95d !important;
}
.border-red {
	border-left: 6px solid red !important;
}


/* Mobile enhanced styling for meal cards */
@media (max-width: 768px) {
    .meal-card-list {
        display: block;
        padding: 10px;
    }

    .meal-card {
        border-left: 6px solid #94d95d;
        border-radius: 12px;
        background-color: #ffffff;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
        padding: 20px 25px;
        transition: box-shadow 0.3s ease;
    }
    .meal-card:hover {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    }

    .meal-card h4 {
        margin: 0 0 15px 0;
        font-size: 18px;
        font-weight: 600;
        color: #3574d1;
        letter-spacing: 0.03em;
    }

    .meal-select {
        margin-bottom: 15px;
    }

    .meal-select label {
        font-weight: 600;
        font-size: 16px;
        color: #333333;
        display: block;
        margin-bottom: 8px;
        letter-spacing: 0.02em;
        user-select: none;
    }

    .meal-select select {
        width: 100%;
        height: 48px;
        font-size: 15px;
        border: 1.5px solid #94d95d;
        border-radius: 8px;
        padding: 8px 12px;
        color: #444444;
        background-color: #f9fff7;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    .meal-select select:focus {
        outline: none;
        border-color: #3574d1;
        box-shadow: 0 0 8px rgba(53, 116, 209, 0.6);
        background-color: #ffffff;
    }

    .button-wrapers {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }

    #submit-form,
    #close-card {
        width: 100% !important;
        float: none !important;
        font-weight: 600;
        font-size: 18px;
        padding: 14px 0;
        border-radius: 10px;
        transition: background-color 0.3s ease;
    }

    #submit-form {
        background-color: #94d95d;
        border: none;
        color: white;
    }
    #submit-form:hover {
        background-color: #7bb03c;
    }

    #close-card {
        background-color: #e14c4c;
        border: none;
        color: white;
    }
    #close-card:hover {
        background-color: #c43c3c;
    }
}

/* Desktop stil */
@media (min-width: 769px) {
    .meal-card-list {
        display: none;
    }
}



/* Sakrij tabelu na malim ekranima */
@media (max-width: 768px) {
    .table-responsive {
        display: none !important;
    }

    .meal-card-list {
        display: block;
    }

     }

/* Desktop stil */
@media (min-width: 769px) {
    .meal-card-list {
        display: none;
    }
}



