* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-image: url('https://www.wentbridgehouse.co.uk/wp-content/webp-express/webp-images/uploads/2023/05/Yoga-1-1367x912.jpg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 20px;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px !important;
}

.login-card {
    width: 100%;
    padding: 50px 45px;
    background: transparent;
    text-align: center;
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-fiweex {
    font-size: 56px;
    font-weight: 700;
    color: white;
    letter-spacing: 0px;
    margin-bottom: 5px;
    text-transform: lowercase;
}

.studio-text {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 3px;
    margin-bottom: 50px;
    text-transform: capitalize;
}

.company-logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
}

.company-logo {
   /* background: white;*/
   /* padding: 30px;*/
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);*/
    transition: transform 0.3s ease;
}

.company-logo:hover {
    transform: scale(1.05);
}

.welcome-text {
    color: white;
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 300;
}

.welcome-text strong {
    font-weight: 700;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 60px;
    align-items: center;
}

.member-input {
    width: 60%;
    padding: 16px 20px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    font-size: 16px;
    color: #666;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.member-input::placeholder {
    color: #aaa;
}

.member-input:focus {
    background: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.code-input-container {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 10px;
}

.code-digit {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    color: #666;
}

.code-digit:focus {
    border-color: #B8860B;
    background: white;
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.3);
    transform: translateY(-2px);
}

.code-digit.success {
    border-color: #28a745;
    background: white;
}

.code-digit.error {
    border-color: #dc3545;
    background: white;
}

.submit-btn {
    width: 60%;
    padding: 16px 20px;
    background: #B8860B;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    /*box-shadow: 0 4px 12px rgba(184, 134, 11, 0.3);*/
}

.submit-btn:hover {
    background: #9a6f0a;
    transform: translateY(-2px);
    /*box-shadow: 0 6px 20px rgba(184, 134, 11, 0.4);*/
}

.submit-btn:active {
    transform: translateY(0);
}

.signup-section {
    margin-top: 20px;
}

.signup-text {
    color: white;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 300;
}

.contact-text {
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    font-weight: 300;
}

.contact-text strong {
    font-weight: 700;
    text-decoration: underline;
}

.whatsapp-icon {
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.2);
}

.validation-info {
    margin-top: 20px;
    margin-bottom: 35px;
}

.info-text {
    color: white;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
}

.resend-section {
    margin-bottom: 0px;
}

.resend-text {
    color: white;
    font-size: 16px;
    font-weight: 300;
}

.resend-text strong {
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.resend-text strong:hover {
    opacity: 0.8;
}

.resend-text strong.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.contact-section {
    margin-top: 0px;
}

.dashboard-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 97dvh;
    overflow-y: auto;
    scrollbar-width: none;
}

.dashboard-card::-webkit-scrollbar {
    display: none;
}

.company-logo-small {
    /*background: white;*/
    /*padding: 15px;*/
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);*/
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.company-logo-small:hover {
    transform: scale(1.05);
}

.welcome-user {
    color: #fff;
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 35px;
}

.welcome-user strong {
    font-weight: 700;
}

.info-card {
    width: 100%;
    border: 1px solid #fff;
    background: #fff;
    border-radius: 15px;
    padding: 20px 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.availability-text {
    color: #B8860B;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.renewal-text {
    color: #B8860B;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
}

.card-title {
    color: #B8860B;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.class-info {
    text-align: center;
}

.class-date {
    color: #B8860B;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.class-time {
    color: #B8860B;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.class-instructor {
    color: #B8860B;
    font-size: 14px;
    font-weight: 400;
}

.waitlist-section {
    width: 100%;
    margin-bottom: 20px;
}

.waitlist-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 12px;
}

.waitlist-card {
    position: relative;
    width: 100%;
    background: rgba(150, 150, 150, 0.6);
    border-radius: 15px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    user-select: none;
    overflow: visible;
}

.waitlist-card.rejected {
    background: rgba(255, 100, 100, 0.6);
    cursor: grab;
}

.waitlist-card.removing {
    transform: translateX(-100%);
    opacity: 0;
}

.waitlist-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 14px;
}

.waitlist-date,
.waitlist-class {
    font-weight: 600;
}

.waitlist-time,
.waitlist-duration,
.waitlist-capacity {
    font-weight: 500;
}

.waitlist-instructor {
    display: flex;
    align-items: center;
    gap: 8px;
}

.waitlist-instructor-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.waitlist-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.delete-icon {
    position: absolute;
    right: -45px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.waitlist-card.rejected .delete-icon {
    opacity: 1;
}

.classes-scroll-wrapper {
    width: calc(100% + 60px);
    margin-left: 0;
    margin-right: -60px;
    overflow: visible;
    margin-bottom: 20px;
}

.classes-scroll-container {
    width: 100%;
    max-height: 95dvh;
    overflow-y: auto;
    overflow-x: clip;
    padding-right: 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.classes-scroll-container::-webkit-scrollbar {
    display: none;
}

.reserved-classes-title {
    width: 100%;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

#reservedClassesContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
}

.reserved-class-card {
    width: 100%;
    border: 1px solid #fff;
    background: #fff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.reserved-class-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.reserved-class-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reserved-class-row:last-child {
    margin-bottom: 0;
}

.reserved-class-date {
    color: #B8860B;
    font-size: 15px;
    font-weight: 600;
}

.reserved-class-time {
    color: #B8860B;
    font-size: 15px;
    font-weight: 500;
}

.reserved-class-name {
    color: #B8860B;
    font-size: 15px;
    font-weight: 600;
}

.reserved-class-duration {
    color: #B8860B;
    font-size: 14px;
    font-weight: 400;
}

.reserved-class-instructor-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reserved-instructor-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.reserved-instructor-name {
    color: #B8860B;
    font-size: 14px;
    font-weight: 400;
}

.reserved-class-capacity {
    color: #B8860B;
    font-size: 14px;
    font-weight: 500;
}


.reserve-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 35px;
}

.circular-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 12px;
}

.circular-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.circular-btn:active {
    transform: scale(1.05) rotate(90deg);
}

.plus-icon {
    color: #B8860B;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
}

.reserve-text {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

.actions-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.action-btn {
    width: 60%;
    padding: 12px 20px;
    border: 1px solid #fff;
    background: #fff;
    color: #B8860B;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #f8f8f8;
}

.action-btn:active {
    transform: translateY(0);
}

.reserve-card {
    padding: 25px 30px !important;
    align-items: flex-start !important;
    max-width: 600px;
}

.header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.back-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.back-arrow:hover {
    transform: translateX(-3px);
}

.header-logo {
    /*background: white;*/
    /*padding: 8px;*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
}

.reserve-content {
    width: 100%;
}

.reserve-title {
    color: #fff;
    font-size: 22px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.4;
}

.reserve-notice {
    color: #fff;
    font-size: 14px;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.5;
}

.dates-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 0;
    margin-bottom: 30px;
    scrollbar-width: none;
}

.dates-carousel::-webkit-scrollbar {
    display: none;
}

.date-card {
    flex-shrink: 0;
    border: 1px solid #fff;
    background: #fff;
    color: #B8860B;
    padding: 8px 12px;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    position: relative;
}

.date-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #B8860B;
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.badge-red {
    background: #dc3545;
}

.badge-yellow {
    background: #ffc107;
}

.badge-green {
    background: #28a745;
}

.badge-gray {
    background: #6c757d;
}

.no-history-message {
    text-align: center;
    padding: 60px 20px;
    color: white;
    animation: fadeIn 0.5s ease-in;
}

.no-history-message svg {
    opacity: 0.5;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.no-history-message h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 600;
    color: white;
}

.no-history-message p {
    font-size: 16px;
    opacity: 0.8;
    color: white;
    line-height: 1.5;
}

.date-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.date-card.active {
    border: 1px solid #B8860B;
    background: #B8860B;
    color: #fff;
}

.date-day {
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 4px;
}

.date-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.date-month {
    font-size: 12px;
    font-weight: 400;
}

.classes-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 44dvh;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: none;
    padding-top: 5px;
}

.classes-list::-webkit-scrollbar {
    display: none;
}

.class-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.time-card {
    border: 1px solid #fff;
    background: #fff;
    color: #B8860B;
    padding: 8px 10px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    min-width: 60px;
    flex-shrink: 0;
}

.class-detail-card {
    flex: 1;
    border: 1px solid #fff;
    background: #fff;
    color: #B8860B;
    padding: 12px 14px;
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.class-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.class-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.class-title {
    font-size: 15px;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.class-title strong {
    font-weight: 700;
}

.class-room {
    font-size: 12px;
    font-weight: 400;
    color: #B8860B;
}

.class-duration {
    font-size: 13px;
    font-weight: 400;
}

.class-subtitle {
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 8px;
}

.class-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.instructor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
}

.instructor-photo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.class-capacity {
    font-size: 13px;
    font-weight: 400;
}

.locked-class {
    pointer-events: none;
}

.locked-time {
    opacity: 0.5;
    cursor: not-allowed;
    flex-direction: column;
    gap: 4px;
}

.lock-icon {
    margin-top: 4px;
}

.locked-detail {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.locked-detail:hover {
    transform: none;
    box-shadow: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay-second {
    z-index: 1100;
}

.modal-content {
    background: white;
    border-radius: 25px;
    padding: 25px;
    max-width: 350px;
    width: 100%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    border: none !important;
}

.modal-title {
    color: #B8860B;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}

.modal-duration {
    color: #B8860B;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.modal-photo-container {
    display: flex;
    justify-content: center;
}

.modal-instructor-photo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.modal-capacity-info {
    color: #B8860B;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.modal-capacity-info div {
    margin-bottom: 4px;
}

.modal-instructor {
    color: #B8860B;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.modal-policy-title {
    color: #808080;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}

.modal-policy-text {
    color: red;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.modal-reserve-btn {
    width: 100%;
    border: 1px solid #B8860B;
    background: #B8860B;
    color: white;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.modal-reserve-btn:hover {
    background: #9a7109;
    border-color: #9a7109;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.modal-reserve-btn:active {
    transform: translateY(0);
}

.modal-available-classes {
    color: #808080;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
}

.modal-back {
    color: #B8860B;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.modal-back:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.confirmation-title {
    color: #B8860B;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.confirmation-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.confirmation-class {
    color: #B8860B;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.confirmation-instructor {
    color: #B8860B;
    font-size: 15px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
}

.confirmation-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #B8860B;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
}

.confirmation-menu-btn {
    width: 80%;
    border: 1px solid #B8860B;
    background: #B8860B;
    color: white;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto 15px;
    display: block;
}

.confirmation-menu-btn:hover {
    background: #9a7109;
    border-color: #9a7109;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(184, 134, 11, 0.3);
}

.confirmation-menu-btn:active {
    transform: translateY(0);
}

.confirmation-cancel {
    color: red;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.confirmation-cancel:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.reserved-classes-title {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 25px;
}

.availability-info {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-top: 15px;
    line-height: 1.6;
}

.cancellation-policy-title {
    color: #808080;
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
}

.cancellation-policy-text {
    color: #B8860B;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.all-classes-card {
    background: transparent;
    min-height: 95dvh;
    padding: 20px;
}

.all-classes-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
}

.back-arrow-white {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
    position: absolute;
    left: 0;
}

.back-arrow-white:hover {
    transform: translateX(-3px);
}

.circular-btn-add {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid white;
    color: #B8860B;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.3);
}

.circular-btn-add:hover {
    background: #f5f5f5;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 255, 255, 0.5);
}

.all-classes-content {
    color: white;
}

.all-classes-title {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.5;
}

.all-classes-count {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 30px;
}

.classes-cards-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 67dvh;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: none;
}

.classes-cards-container::-webkit-scrollbar {
    display: none;
}

.class-info-card {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 15px;
    padding: 15px 20px;
    color: #B8860B;
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

.class-info-card.locked {
    opacity: 0.5 !important;
    cursor: not-allowed;
}

.class-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.class-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.class-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.class-info-card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.class-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.class-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.class-name {
    font-size: 16px;
    font-weight: 400;
}

.class-description {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #B8860B;
    text-align: left;
}

.class-info-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-days {
    font-size: 14px;
    font-weight: 400;
}

.class-instructor-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
}

.instructor-photo-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #B8860B;
}

.contact-text {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-text:hover {
    opacity: 0.8;
}

.contact-modal-content {
    background: white;
    padding: 30px;
    border-radius: 25px;
    max-width: 350px;
    width: 80%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-modal-title {
    color: #B8860B;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.contact-input,
.contact-select {
    border: 1px solid #d3d3d3;
    background: #d3d3d3;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    color: #B8860B;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

.contact-input::placeholder {
    color: #B8860B !important;
    opacity: 1;
}

.contact-input::-webkit-input-placeholder {
    color: #B8860B !important;
}

.contact-input::-moz-placeholder {
    color: #B8860B !important;
    opacity: 1;
}

.contact-input:-ms-input-placeholder {
    color: #B8860B !important;
}

.contact-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23B8860B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
    cursor: pointer;
}

.contact-select option {
    background: white;
    color: #B8860B;
}

.contact-whatsapp-btn {
    width: 100%;
    border: 1px solid #B8860B;
    background: #B8860B;
    color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 15px;
    gap: 5px;
}

.contact-whatsapp-btn:hover {
    background: #9a7109;
    border-color: #9a7109;
    transform: scale(1.02);
}

.contact-back-link {
    color: #B8860B;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-back-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.error-modal-content {
    background: white;
    padding: 30px;
    border-radius: 25px;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.error-modal-title {
    color: #B8860B;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
    line-height: 1.6;
}

.error-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.error-contact-btn {
    width: 100%;
    border: 1px solid #B8860B;
    background: #B8860B;
    color: #fff;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-bottom: 15px;
    gap: 5px;
}

.error-contact-btn:hover {
    background: #9a7109;
    border-color: #9a7109;
    transform: scale(1.02);
}

.error-back-link {
    color: #B8860B;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.error-back-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.history-tabs-container {
    margin-bottom: 20px;
}

.history-tabs {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
}

.history-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    font-weight: bold;
}

.history-tab.active {
    background: #B8860B;
    color: #fff;
    font-weight: bold;
}

.history-tab:not(.active) {
    background: transparent;
    color: #B8860B;
    font-weight: bold;
}

.history-tab:hover {
    transform: scale(1.02);
}

.history-content-wrapper {
    width: 100%;
    min-height: 550px;
    position: relative;
}

.history-content {
    width: 100%;
    padding-top: 15px;
}

.history-date-card {
    min-width: 80px;
}

.history-time-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    padding: 10px;
}

.time-day {
    font-size: 14px;
    font-weight: 600;
    color: #B8860B;
    margin-bottom: 5px;
}

.time-number {
    font-size: 20px;
    font-weight: bold;
    color: #B8860B;
}

.history-class-card {
    flex: 1;
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cancelled-time .time-day,
.cancelled-time .time-number {
    color: #FF0000;
}

.cancelled-class .class-title,
.cancelled-class .class-duration,
.cancelled-class .class-subtitle,
.cancelled-class .instructor-info span {
    color: #FF0000;
}

.history-classes-list {
    max-height: 43dvh;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-top: 5px;
}

.history-classes-list::-webkit-scrollbar {
    display: none;
}

#memberNumber::placeholder {
    color: #808080 !important;
    opacity: 1;
}
#memberNumber::-webkit-input-placeholder {
    color: #808080 !important;
}
#memberNumber::-moz-placeholder {
    color: #808080 !important;
    opacity: 1;
}
#memberNumber:-ms-input-placeholder {
    color: #808080 !important;
}

.full-cupo-capacity {
    color: #dc3545;
}

.reserve-text-all-classes {
    position: absolute; 
    left: calc(50% + 50px); 
    top: 50%; 
    transform: translateY(-50%); 
    padding: 15px 15px 15px 0px; 
    border-radius: 10px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: transform 0.3s ease;
    color: #fff;
    text-align: left;
}

.details-section-step3{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .login-card {
        padding: 0px !important;
    }

    .logo-fiweex {
        font-size: 48px;
    }

    .studio-text {
        font-size: 20px;
        margin-bottom: 45px;
    }

    .company-logo {
        padding: 25px;
    }

    .company-logo svg {
        width: 55px;
        height: 55px;
    }

    .welcome-text {
        font-size: 18px;
        margin-bottom: 35px;
    }

    .member-input {
        font-size: 15px;
        padding: 14px 18px;
    }

    .submit-btn {
        font-size: 17px;
        padding: 14px 18px;
    }

    .signup-text,
    .contact-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .login-card {
        padding: 0px !important;
    }

    .logo-fiweex {
        font-size: 42px;
    }

    .studio-text {
        font-size: 18px;
        letter-spacing: 2px;
        margin-bottom: 40px;
    }

    .company-logo {
        padding: 22px;
        margin-bottom: 30px;
    }

    .company-logo svg {
        width: 50px;
        height: 50px;
    }

    .welcome-text {
        font-size: 17px;
        margin-bottom: 30px;
    }

    .login-form {
        gap: 16px;
        margin-bottom: 50px;
    }

    .member-input {
        font-size: 15px;
        padding: 14px 16px;
    }

    .submit-btn {
        font-size: 16px;
        padding: 14px 16px;
    }

    .signup-text,
    .contact-text {
        font-size: 14px;
    }

    .whatsapp-icon {
        width: 18px;
        height: 18px;
    }

    .code-input-container {
        gap: 8px;
        padding: 0 10px;
    }

    .code-digit {
        width: 45px;
        height: 55px;
        font-size: 22px;
    }

    .reserve-title {
        font-size: 20px;
    }

    .date-card {
        min-width: 80px;
        padding: 14px;
    }

    .date-badge {
        width: 26px;
        height: 26px;
        font-size: 13px;
        top: -10px;
        right: -10px;
    }

    .date-day {
        font-size: 11px;
    }

    .date-number {
        font-size: 18px;
    }

    .date-month {
        font-size: 11px;
    }

    .time-card {
        min-width: 70px;
        padding: 14px;
    }

    .time-day {
        font-size: 11px;
    }

    .time-number {
        font-size: 22px;
    }

    .history-time-card {
        min-width: 70px;
        padding: 12px 8px;
    }

    .class-detail-card {
        padding: 12px 10px;
    }

    .class-title {
        font-size: 13px;
    }

    .class-room {
        font-size: 10px;
    }

    .class-duration {
        font-size: 11px;
    }

    .instructor-info span {
        font-size: 11px;
    }

    .class-header {
        margin-bottom: 6px;
    }

    .instructor-avatar {
        width: 28px;
        height: 28px;
    }

    .history-tabs {
        gap: 8px;
        margin-bottom: 18px;
    }

    .history-tab {
        padding: 10px 16px;
        font-size: 13px;
    }

    .history-date-card {
        min-width: 100px;
        padding: 14px;
    }

    .history-time-card {
        min-width: 70px;
    }

    .home-card {
        padding: 16px;
    }

    .user-name {
        font-size: 18px;
    }

    .availability-text {
        font-size: 15px;
    }

    .renewal-text {
        font-size: 13px;
    }

    .waitlist-card {
        padding: 12px;
    }

    .waitlist-date,
    .waitlist-time {
        font-size: 13px;
    }

    .waitlist-class-name {
        font-size: 14px;
    }

    .waitlist-instructor span {
        font-size: 12px;
    }

    .waitlist-message {
        font-size: 13px;
    }

    .reserved-class-card {
        padding: 14px 12px;
    }

    .reserved-date,
    .reserved-time {
        font-size: 12px;
    }

    .reserved-class-name {
        font-size: 13px;
        line-height: 1.3;
    }

    .reserved-class-row {
        gap: 10px;
    }

    .reserved-instructor span {
        font-size: 11px;
    }

    .reserved-instructor img {
        width: 28px;
        height: 28px;
    }

    .checkmark-icon {
        width: 28px;
        height: 28px;
    }

    .classes-scroll-wrapper {
        width: calc(100% + 50px);
        margin-right: -50px;
    }

    .classes-scroll-container {
        padding-right: 50px;
    }

    .delete-icon {
        right: -40px;
    }

    .contact-whatsapp-btn {
        font-size: 13px;
        padding: 12px 16px;
        gap: 8px;
        flex-wrap: wrap;
        text-align: center;
        line-height: 1.4;
    }

    .contact-whatsapp-btn strong {
        word-break: break-word;
    }

    .contact-modal-content {
        padding: 25px 20px;
        width: 85%;
    }

    .contact-modal-title {
        font-size: 15px;
        line-height: 1.5;
    }
}

@media (max-width: 360px) {
    .logo-fiweex {
        font-size: 38px;
    }

    .studio-text {
        font-size: 16px;
    }

    .welcome-text {
        font-size: 16px;
    }

    .signup-text,
    .contact-text {
        font-size: 13px;
    }

    .code-input-container {
        gap: 6px;
        padding: 0 5px;
    }

    .code-digit {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }

    .reserve-title {
        font-size: 18px;
    }

    .date-card {
        min-width: 70px;
        padding: 12px;
    }

    .date-number {
        font-size: 18px;
    }

    .date-badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
        top: -8px;
        right: -8px;
    }

    .time-card {
        min-width: 60px;
        padding: 10px 8px;
    }

    .time-number {
        font-size: 18px;
    }

    .class-detail-card {
        padding: 10px 8px;
    }

    .class-title {
        font-size: 12px;
    }

    .class-room {
        font-size: 9px;
    }

    .class-duration {
        font-size: 10px;
    }

    .instructor-info span {
        font-size: 10px;
    }

    .class-header {
        margin-bottom: 4px;
    }

    .instructor-avatar {
        width: 26px;
        height: 26px;
    }

    .history-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .history-date-card {
        min-width: 85px;
        padding: 10px;
    }

    .history-time-card {
        min-width: 60px;
        padding: 10px 6px;
    }

    .time-day {
        font-size: 10px;
    }

    .time-number {
        font-size: 18px;
    }

    .home-card {
        padding: 14px;
    }

    .user-name {
        font-size: 16px;
    }

    .availability-text {
        font-size: 14px;
    }

    .renewal-text {
        font-size: 12px;
    }

    .reserved-class-card {
        padding: 12px 10px;
    }

    .reserved-date,
    .reserved-time {
        font-size: 11px;
    }

    .reserved-class-name {
        font-size: 12px;
        line-height: 1.2;
    }

    .reserved-class-row {
        gap: 8px;
    }

    .reserved-instructor span {
        font-size: 10px;
    }

    .reserved-instructor img {
        width: 26px;
        height: 26px;
    }

    .checkmark-icon {
        width: 26px;
        height: 26px;
    }

    .contact-whatsapp-btn {
        font-size: 12px;
        padding: 12px 14px;
        gap: 6px;
        line-height: 1.4;
    }

    .contact-modal-content {
        padding: 20px 16px;
        width: 90%;
    }

    .contact-modal-title {
        font-size: 14px;
        line-height: 1.5;
    }
}

.waitlist-modal-content {
    text-align: center;
}

.waitlist-modal-title {
    font-size: 20px;
    font-weight: bold;
    color: #B8860B;
    margin-bottom: 20px;
}

.waitlist-modal-layout {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.waitlist-modal-duration {
    font-size: 16px;
    color: #B8860B;
}

.waitlist-modal-photo-container {
    display: flex;
    justify-content: center;
}

.waitlist-modal-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.waitlist-modal-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #B8860B;
    font-size: 14px;
}

.waitlist-modal-instructor {
    color: #B8860B;
    font-size: 16px;
    margin-bottom: 15px;
    text-align: center;
}

.waitlist-modal-time {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #B8860B;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 30px;
}

.waitlist-join-btn {
    width: 100%;
    border: 1px solid #B8860B;
    background: #B8860B;
    color: white;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.waitlist-join-btn:hover {
    background: #9a7109;
    border-color: #9a7109;
    transform: scale(1.02);
}

.waitlist-members-text {
    color: #B8860B;
    font-size: 14px;
    margin-bottom: 30px;
}

.waitlist-confirmation-title {
    font-size: 18px;
    color: #808080;
    margin-bottom: 20px;
    text-align: center;
}

.waitlist-members-before {
    color: #B8860B;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.waitlist-whatsapp-text {
    color: #B8860B;
    font-size: 14px;
    margin-bottom: 25px;
    text-align: center;
}

.waitlist-hourglass-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 30px;
    color: #B8860B;
}

.waitlist-class-name {
    color: #B8860B;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: center;
}

.waitlist-instructor-name {
    color: #B8860B;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

.waitlist-time-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #B8860B;
    font-size: 16px;
    margin-bottom: 10px;
}

.waitlist-capacity-info {
    color: #B8860B;
    font-size: 16px;
    text-align: center;
}

.waitlist-exit-text {
    color: #ff6b6b;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
    margin-top: 15px;
}

.waitlist-exit-text:hover {
    color: #ff4444;
}

.full-capacity {
    cursor: pointer;
}

.exit-waitlist-title {
    font-size: 18px;
    font-weight: 700;
    color: #B8860B;
    margin-bottom: 40px;
    text-align: center;
}

.exit-waitlist-class-info {
    margin-bottom: 40px;
    text-align: center;
}

.exit-waitlist-class-name {
    font-size: 16px;
    color: #808080;
    margin-bottom: 8px;
}

.exit-waitlist-instructor {
    font-size: 15px;
    color: #808080;
    margin-bottom: 12px;
}

.exit-waitlist-time-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #808080;
    font-size: 14px;
}

.exit-waitlist-capacity {
    font-size: 14px;
    color: #808080;
}
