body{
  color:#fff
}
.right_conatct_social_icon{
     background: linear-gradient(to top right, #37A7FF -5%, #2674B2 100%);
}
.contact_us{
    background-color: #f1f1f1;
    padding: 120px 0px;
}

.contact_inner{
    background-color: #fff;
    position: relative;
    box-shadow: 20px 22px 44px #cccc;
    border-radius: 25px;
}
.contact_field{
    padding: 60px 340px 90px 100px;
}
.right_conatct_social_icon{
    height: 100%;
}

.contact_field h3{
   color: #000;
    font-size: 40px;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px
}
.contact_field p{
    color: #000;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 35px;
}
.contact_field .form-control{
    border-radius: 0px;
    border: none;
    border-bottom: 1px solid #ccc;
}
.contact_field .form-control:focus{
    box-shadow: none;
    outline: none;
    border-bottom: 2px solid #37A7FF;
}
.contact_field .form-control::placeholder{
    font-size: 13px;
    letter-spacing: 1px;
}

.contact_info_sec {
    position: absolute;
    background-color: #2d2d2d;
    right: 1px;
    top: 18%;
    height: 340px;
    width: 340px;
    padding: 40px;
    border-radius: 25px 0 0 25px;
}
.contact_info_sec h4{
    letter-spacing: 1px;
    padding-bottom: 15px;
}

.info_single{
    margin: 30px 0px;
}
.info_single i{
    margin-right: 15px;
}
.info_single span{
    font-size: 14px;
    letter-spacing: 1px;
}

button.contact_form_submit {
    background: linear-gradient(to top right, #37A7FF -5%, #2674B2 100%);
    border: none;
    color: #fff;
    padding: 10px 15px;
    width: 100%;
    margin-top: 25px;
    border-radius: 35px;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 2px;
}
.socil_item_inner li{
    list-style: none;
}
.socil_item_inner li a{
    color: #fff;
    margin: 0px 15px;
    font-size: 14px;
}
.socil_item_inner{
    padding-bottom: 10px;
}

.map_sec{
    padding: 50px 0px;
}
.map_inner h4, .map_inner p{
    color: #000;
    text-align: center
}
.map_inner p{
    font-size: 13px;
}
.map_bind{
   margin-top: 50px;
    border-radius: 30px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .contact_field {
        padding: 40px 20px 60px 20px; /* Adjust padding for smaller screens */
    }

    .contact_info_sec {
        position: static; /* Remove absolute positioning on small screens */
        width: auto; /* Take full width */
        height: auto; /* Adjust height automatically */
        border-radius: 0 0 25px 25px; /* Adjust border-radius */
        margin-top: 20px; /* Add some space from the top */
        text-align: center; /* Center content */
        padding: 20px; /* Adjust padding */
    }

    .contact_field h3 {
        font-size: 32px; /* Smaller font size for headings */
    }

    .top-right.button-phone {
        flex-direction: column; /* Stack buttons vertically */
        align-items: stretch; /* Make buttons fill the width */
        padding: 10px;
    }

    .book-btn, .logout-btn {
        width: 100%; /* Make buttons full width */
        margin-bottom: 5px; /* Add a small margin between stacked buttons */
    }

    form {
        flex-direction: column; /* Stack filter elements */
        align-items: center; /* Center them */
        padding: 0 10px; /* Add horizontal padding */
    }

    /* Table specific adjustments for small screens */
    .table-responsive thead {
        display: none; /* Hide table headers on small screens */
    }

    .table-responsive tbody tr {
        display: block; /* Make rows behave like blocks */
        margin-bottom: 15px; /* Space between rows */
        border: 1px solid #ddd;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        padding: 10px;
    }

    .table-responsive td {
        display: flex; /* Use flexbox for table cells */
        justify-content: space-between; /* Space out content and label */
        padding: 8px 0;
        border: none; /* Remove individual cell borders */
    }

    .table-responsive td:before {
        content: attr(data-label); /* Use data-label for pseudo-elements */
        font-weight: bold;
        text-transform: uppercase;
        margin-right: 10px;
        color: #555;
    }

    /* Assign data-label to your table cells in PHP to make this work */
    /* Example: <td data-label="Ime Klijenta"><?php echo $row['client_name']; ?></td> */

    .table-responsive tbody tr:last-child td {
        justify-content: center; /* Center content for the total row */
        font-size: 1.1em;
    }
}

/* For even smaller screens, like very narrow phones */
@media (max-width: 480px) {
    .bazaH1 {
        font-size: 24px; /* Further reduce heading size */
    }

    .book-btn, .logout-btn, .filter-btn {
        font-size: 13px; /* Slightly smaller font for buttons */
        padding: 8px 12px;
    }

    form input[type="date"] {
        width: 90%; /* Make date input wider */
    }
}