/* tiptlk style sheet */
/* Reset default margin and padding */
html, body {
    margin: 0;
    padding: 0;
}

/* Basic styling */
body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* height: 50vh; */
    padding-top: 50px;
}

body, h1, h2, h3, h4, h5, h6, p {
    margin-top: 7px;
    margin-bottom: 7px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#thumbnail {
    max-width: 200px;
    max-height: 150px;
}

footer, .content:after {
    height: 30px;
}

footer {
    background-color: white;
    color: lightslategrey;
    text-align: center;
    font-size: small;
    text-align: center;
    padding: 1px;
    width: 100%;
    position: fixed;
    bottom: 0;
}

.container {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0);
    text-align: center;
}

.banner {
    font-size: 1.5em;
    margin-bottom: 20px; /* Space between banner and form */
}

.title {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.centered-input {
    text-align: center;
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.input-group {
    border: none;
    border-bottom: 1px solid #000000;
    margin-bottom: 20px;
}

input[type="text"],
input[type="tel"],
input[type="submit"],
input[type="password"],
button[id="generateLink"],
button[id="saveTip"],
button[id="verifyCode"],
button[id="sendThanks"],
button[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: none;
    box-sizing: border-box;
    border-bottom: 1px solid #6B7280;
}

input[type="text"],
input[type="password"] {
    border: none;
    border-bottom: 1px solid #6B7280;
    outline: none;
}

input[type=text]:required {
    background-color: #ffe6e6;
}

input[type="email"],
input[type="urlInput"] {
    width: calc(100% - 2px);
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #000;
    background-color: transparent;
    margin-bottom: 20px;
    font-size: 14px;
    outline: none;
}

textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: smaller;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    resize: vertical;
}


button[type="submit"],
button[id="saveTip"],
button[id="verifyCode"],
button[id="sendThanks"],
button[id="start"],
button[id="generateLink"] {
    background-color: #3F83F8;
    color: white;
    border-radius: 8px;
    border-color: #fff;
    width: 302px;
    height: 34px
}

/* Adjusted disabled button styles */
button.disabled {
    background-color: lightgrey;
}

button[type="submit"]:hover {
    background-color: #2c5bb5;
}

button[id="start"]:hover {
    background-color: #2c5bb5;
}

button[id="generateLink"]:hover {
    background-color: #2c5bb5;
}

button[id="saveTip"]:hover {
    background-color: #2c5bb5;
}

/* Adjust placeholder styles */
input::placeholder {
    color: #808080;
}

/* Show input on focus */
input:focus {
    border: none;
    border-bottom: 1px solid #6B7280;
    border-width: 2px;
}

#input-group::placeholder {
    color: #808080; /* Grey color for placeholder */
}

#input-group:focus {
    border: none;
    border-bottom: 1px solid #6B7280;
    background-color: #fff; /*keep the background color white on focus */
}

#banner {
    background-color: #fff;
    padding: 20px;
    margin-bottom: 20px;
}
/* Show code verification and URL input section */
#codeVerificaiton,
#urlInputSection {
    display: none;
}

/* Navbar */


/* Container */
.container .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 16px;
    width: 100%;
}

    /* Frame 26 */
    .container .navbar .frame-26 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0px;
        gap: 10px;
        width: 32px;
        height: 32px;
        background: #FFFFFF; /* white */
        border: 2px solid #111928; /* gray/900 */
        border-radius: 107px;
    }

    /* symbols */
    .container .navbar .symbols {
        width: 32px;
        height: 32px;
        font-family: 'Font Awesome 6 Pro';
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 84px; /* or 467% */
        display: flex;
        align-items: center;
        text-align: center;
        color: #111928; /* gray/900 */
    }

    /* menu-alt-2 */
    .container .navbar .menu-alt-2 {
        width: 32px;
        height: 32px;
    }

    /* Vector */
    .container .navbar .vector {
        position: absolute;
        left: 15%;
        right: 15%;
        top: 20%;
        bottom: 20%;
        background: #111928; /* gray/900 */
    }

    /* Input */
    .container .navbar .input {
        box-sizing: border-box;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 12px 16px;
        width: 262px;
        height: 45px;
        background: #F9FAFB; /* gray/50 */
        border: 1px solid #D1D5DB; /* gray/300 */
        border-radius: 8px;
    }

    /* Content */
    .container .navbar .input-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0px;
        gap: 8px;
        width: 293px;
        height: 21px;
    }

    /* search */
    .container .navbar .search {
        width: 18px;
        height: 18px;
    }

    /* Vector */
    .container .navbar .vector {
        position: absolute;
        left: 12.5%;
        right: 12.5%;
        top: 12.5%;
        bottom: 12.5%;
        border: 2px solid #6B7280; /* gray/500 */
    }

    /* Search */
    .container .navbar search-input {
        width: 267px;
        height: 21px;
        font-family: 'Inter';
        font-style: normal;
        font-weight: 400;
        font-size: 14px; /* text-sm */
        line-height: 150%;
        display: flex;
        align-items: center;
        color: #6B7280; /* gray/500 */
    }

/* Radio button for dollar ratings */
/* styles.css */
.radio-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 0;
    width: 342px;
    height: 56px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 30px;
}

.dark-mode .radio-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 0;
    width: 380px;
    height: 56px;
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 30px;
}

.dark-mode .radio-group-type {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    padding: 0;
    width: 342px;
    height: 56px;
    background: #333333;
    border-radius: 30px;
}

.radio {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #000000;
    cursor: pointer;
}

input[type="radio"] {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

    input[type="radio"]:checked + label {
        background: #000000;
        color: #FFFFFF;
    }

    input[type="radio"]:not(:checked) + label {
        background: transparent;
        color: #000000;
    }

/* For the comment text  box */
#comment {
    border-radius: 8px; /* Adding rounded corners */
    border: 1px solid #ccc; /* Adding a border for clarity */
    padding: 8px; /* Adding padding for spacing */
}

/* Modal */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 10px;
    top: 0;
    width: 90%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    /**/
    font-family: Arial, sans-serif;
    background-color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* height: 50vh; */
    padding-top: 50px;
}

/* Style for the modal content container */
.modal-content-container {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 2px solid #888; /* Border for the modal */
    width: 80%; /* Could be more or less, depending on screen size */
    max-height: 90%; /* Maximum height for the modal */
    overflow: auto; /* Enable scrolling if content exceeds height */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-menu a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

        .dropdown-menu a:hover {
            background-color: #ddd;
        }

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-toggle {
    background-color: #3e8e41;
}

/* Dark mode styles */
.dark-mode {
    background-color: #333; /* Dark background for the body */
    color: #e0e0e0; /* Light text color */
}

    .dark-mode header, .dark-mode footer {
        background-color: #333; /* Darker shade for header and footer */
    }

    .dark-mode .container, .dark-mode .content {
        background-color: #333; /* Dark background for main content area */
    }

    .dark-mode input[type="text"], .dark-mode input[type="email"], .dark-mode textarea {
        background-color: #333; /* Dark background for form inputs and textarea */
        color: #e0e0e0; /* Light text color for form inputs and textarea */
        border: 1px solid #555; /* Slightly lighter border for inputs */
    }

    .dark-mode .radio-group label {
        background-color: #333; /* Dark background for radio buttons labels */
        color: #e0e0e0; /* Light text color for radio buttons labels */
    }

    .dark-mode a, .dark-mode a:visited {
        color: #4db8ff; /* Light blue color for links */
    }

/* Grey mode styles */
.grey-mode {
    background-color: #999999; /* Darker grey background for the body */
    color: #e0e0e0; /* Light text color for better contrast */
}

    .grey-mode header, .grey-mode footer {
        background-color: #999999; /* Darker grey shade for header and footer */
    }

    .grey-mode .container, .grey-mode .content {
        background-color: #999999; /* Darker grey background for main content area */
    }

    .grey-mode input[type="text"], .grey-mode input[type="email"], .grey-mode textarea {
        background-color: #999999; /* Darker grey background for form inputs and textarea */
        color: #e0e0e0; /* Light text color for better contrast */
        border: 1px solid #777; /* Adjusted border color for better visibility */
    }

    .grey-mode .radio-group label {
        background-color: #999999; /* Darker grey background for radio buttons labels */
        color: #e0e0e0; /* Light text color for better contrast */
    }

    .grey-mode a, .grey-mode a:visited {
        color: #4db8ff; /* Light blue color for links */
    }

.radio-option {
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    user-select: none;
    cursor: pointer;
}

.content-type-radio-group {
    display: flex;
    justify-content: center;
}

.card {
    box-shadow: 2px 2px 5px rgba(0, 0, 0.5, 0.5); /* Add shadow to the sidebar */
}