﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

.container {
    padding: 0px;
}

.link {
    text-decoration: none !important;
    color: #333333 !important;
}

.color-gray {
    color: #a5a5a5 !important;
}

.color-red {
    color: red !important;
}

.cursor-pointer {
    cursor: pointer;
}

.bi::before {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}

.boat-container {
    margin: 10px;
    border-radius: 10px;
    background: #e4e4e4;
}

.boat-details-container {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    word-break: break-word;
}

.boat-header {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    width: 100%;
}

.boat-label {
    color: #a7a0a0;
}

.boat-detail {
    width: 48%;
    font-size: 13px;
}

.btn-inquire {
    width: 100%;
    border-radius: 10px;
    padding: 7px;
    background-color: #adadc3c7;
    border-color: transparent;
    color: white;
    font-weight: bold;
}

.boat-image {
    height: 250px;
    width: 100%;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
    width: Calc(100% - 20px);
    margin: 10px;
}

    .input-with-icon input {
        width: 100%;
        padding: 8px 8px 8px 35px; /* Space for the icon */
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }

        .input-with-icon input:focus {
            border-color: #007bff;
            outline: none;
        }

    .input-with-icon::before {
        content: "🔍"; /* You can replace this with a FontAwesome or Material icon */
        position: absolute;
        left: 10px;
        font-size: 16px;
        color: gray;
        pointer-events: none; /* Prevent interaction with the icon */
    }

.boat-inquery-detail {
    width: 100%;
}

.boat-inquiry-header {
    font-size: 15px;
    margin-bottom: 5px;
    width: 100%;
    font-weight: bold;
}

.inquiry-input {
    width: 100%;
    border-radius: 5px;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin: 5px 0 5px 0;
}

.inquiry-textarea {
    resize: none;
    height: 200px;
}

input[readonly] {
    background-color: #f0f0f0;
    color: #888;
}

.inquiry-header {
    border-top: 2px solid #ccc;
    padding: 10px 0 10px 0;
}

.notification {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #d7efe6;
    color: black;
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    animation: fadeOut 0.5s ease-in-out 4.5s forwards;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 90%;
    font-size: 13px
}

    .notification svg {
        width: 50px;
        height: 27px;
        fill: white;
    }

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
}

.modal-content {
    background-color: transparent;
    border-color: transparent;
}

.modal-header {
    border: 0;
    color: white;
}

.btn-close {
    background: white url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="black" d="M4.646 4.646a.5.5 0 0 1 .708 0L8 7.293l2.646-2.647a.5.5 0 0 1 .708.708L8.707 8l2.647 2.646a.5.5 0 0 1-.708.708L8 8.707l-2.646 2.647a.5.5 0 0 1-.708-.708L7.293 8 4.646 5.354a.5.5 0 0 1 0-.708z"/></svg>') center / 1em auto no-repeat;
}

.modal-header {
    position: relative;
    top: 49px;
    z-index: 10;
    right: 7px;
}

.inqiury-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #004F71;
    height: 60px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

.title {
    flex-grow: 1;
    text-align: center;
}

/* Button styling */
.icon-button {
    background: transparent; /* White circular background */
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Arrow icon should be white */
.back-button svg {
    stroke: white; /* Make the arrow white */
    width: 24px;
    height: 24px;
}

/* Info icon should have a visible circle but white "i" */
.info-button svg {
    width: 24px;
    height: 24px;
    stroke: black; /* Keeps the outer circle visible */
    fill: white; /* Makes the "i" white */
}

/* Hover effects */
.icon-button:hover {
    background: #007bff; /* Blue background on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

    .icon-button:hover .back-button svg {
        stroke: white;
    }

    .icon-button:hover .info-button svg {
        stroke: white; /* Make the circle white on hover */
    }


.boat-help-header {
    font-weight: bold;
    color: #004F71;
    margin-top: 15px;
    font-size: 26px;
    margin-bottom: 10px;
}

h4 {
    margin: 15px 0 15px 0;
}

h6 {
    margin: 15px 0 15px 0;
}

.tips {
    padding: 15px;
    background-color: #EEF8FC;
    border-radius: 15px;
}

.boat-main-container {
    margin: 25px 10px 10px 10px;
}


.carousel {
    width: 100%;
}

    .carousel .carousel-item img {
        height: 250px;
    }

.numeric-input {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 9px;
    background-color: white;
    width: 100%;
    margin: 5px 0 5px 0;
}

.numeric-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 5px;
}

    .numeric-btn svg {
        width: 16px;
        height: 16px;
        stroke: #0056b3;
    }

.numeric-value {
    width: 100%;
    text-align: left;
    border: none;
    font-size: 14px;
    pointer-events: none;
    background: white;
}

.divider {
    height: 20px;
    width: 1px;
    background-color: #ccc;
    margin: 0 8px;
}


.boat-note {
    color: grey;
    margin: 5px;
    font-size: 12px;
}

.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    width: 100%;
    height: 20px;
    margin: 5px 0;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% {
        background-color: #e0e0e0;
    }

    50% {
        background-color: #d6d6d6;
    }

    100% {
        background-color: #e0e0e0;
    }
}

.skeleton-text {
    width: calc(100% - 20px);
    margin: 10px;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

#main-container {
    display: none;
}