body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.duration {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
}

.duration::before {
    margin-right: 6px;
}

.left,
.center,
.right {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.left {
    flex: 1;
    max-width: 280px;
}

.center {
    flex: 1.2;
}

.right {
    flex: 1;
    max-height: 540px;
    overflow-y: auto;
}

h2 {
    font-size: 20px;
    margin-bottom: 8px;
}

select,
.day,
.slot,
.time-slot,
input {
    width: 98%;
    margin-bottom: 12px;
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}

.day {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    border: 1px solid #d1d5db;
    background: white;
    transition: background-color 0.2s ease;
}

.day.disabled {
    pointer-events: none;
    opacity: 0.4;
    cursor: default;
}

.day:hover {
    background-color: #e0f2f1;
}

.day.selected {
    background-color: #047857;
    color: white;
    font-weight: bold;
}

.calendar-header {
    margin-bottom: 20px; /* Adjust spacing as needed */
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 8px;
}

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: flex-start;
    /* push modal to top */
    padding-top: 40px;
    /* space from top */
    z-index: 1000;
    overflow-y: auto;
    /* allow scroll if modal is tall */
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    /* increase width */
    max-width: 700px;
    /* cap maximum width */
    min-height: 400px;
    /* increase height */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-buttons {
    text-align: right;
}

.modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
}

/* Base button styling */
.modal-buttons button {
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

/* Cancel (left) */
.modal-buttons .cancel {
    background-color: #ccc;
    color: black;
}
.modal-buttons .cancel:hover {
    background-color: #999;
}

.cancel {
    background: #ccc;
}

.confirm {
    background: #008080;
    color: white;
}
.confirm:hover {
    background: #006666;
}

.reschedule {
    background: #f0ad4e;
    color: white;
}
.reschedule:hover {
    background: #ec971f;
}

button.time-slot {
    padding: 10px;
    border: 1px solid #008080;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

button.time-slot:hover {
    background-color: #008080;
    color: white;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 16px 0;
}

.time-buttons button {
    margin-bottom: 8px;
}

.edit-btn {
    background-color: #01b8ff; /* Green */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 10px;
}

.cancel-btn {
    background-color: #dc3545; /* Red */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
}

.edit-btn:hover {
    background-color: #01a2e0;
}

.cancel-btn:hover {
    background-color: #c82333;
}

@media (min-width: 768px) {
    .container {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .left,
    .center,
    .right {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .calendar-weekdays div,
    .calendar .day {
        font-size: 12px;
        padding: 5px;
    }
}

.display_none {
    display: none;
}

.iti {
    width: 100% !important;
}

.iti input {
    width: 100% !important;
    padding-left: 90px !important;
}

.confirmation-box {
    background-color: #fff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
}

.confirmation-header {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #166870;
    font-weight: 600;
    margin-bottom: 24px;
}

.confirmation-header img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.meeting-details {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    color: #334155;
    font-size: 15px;
}

.meeting-details p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.meeting-details a {
    color: #0f62fe;
    text-decoration: none;
}

.meeting-details a:hover {
    text-decoration: underline;
}

.meeting-details button {
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.confirmation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    /* enough vertical centering */
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-family: Arial, sans-serif;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero img {
    /* width: 100px;
    height: 100px;
    max-height: 75px; */
    margin-bottom: 10px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}

.hero p {
    color: #6b7280;
    font-size: 16px;
    margin-top: 6px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.highlight-slot {
    background-color: #ffefc0 !important;
    border: 2px solid #f0ad4e;
}

@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: #4b5563;
}

.card .button {
    margin-top: 20px;
    background-color: #0f766e;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    display: inline-block;
}

.card .button:hover {
    background-color: #115e59;
}

.book-button {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid #008080;
    border-radius: 8px;
    color: #008080;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    width: 40%;
    cursor: pointer;
}

.book-button .arrow {
    margin-left: 8px;
    font-size: 18px;
}

.book-button:hover {
    background-color: #008080;
    color: white;
}
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }

    .button-group button {
        width: 100%;
        margin-bottom: 10px;
    }
}
