/* Base Styles */
body {
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', serif;
    min-height: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

button{
    font-family: 'Poppins', serif;
    touch-action: manipulation;
    min-height: 44px;
}

a, input, select, textarea {
    touch-action: manipulation;
}

/* Improve touch targets on mobile */
@media (max-width: 768px) {
    button, a.btn, input[type="submit"], input[type="button"], .cta-button {
        min-height: 48px;
    }
    
    input, select, textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* New Booking UI Styles */
.bookingPage{
    display: flex;
    height: 100%;
    background: url('photos/bgbook.png') no-repeat center center/cover;
    color: #fff;
}

.SalonBranch {
    flex: 1;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.8); /* Makes everything 80% of original size */
    transform-origin: center; /* Scale from center */
    margin-right: -5%;
    margin-top: -2%;
}

.branchImage {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

.hidden-ui {
    position: absolute;
    left: -9999px;
    visibility: hidden;
}

.branchImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.branchInfo {
    color: #4b3306;
    text-align: center;
    padding-left: 30px;
    padding-right: 30px;
}

.branchInfo h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
}
.aboutBranch{
    font-family: 'Poppins', serif;
    font-weight: 400;
}

.selectBranch{
    width: 100%;
    padding: 1rem;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: #4b3306;;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
}

.btn-small {
    background-color: transparent;
    text-decoration: underline;
    color: #3e2a04;
    border: none;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 12px;
    margin-top: 5px;
    float: right;
}

#locationStatus{
    float: left;
    font-size: 12px;
    color: #3e2a04;

}



/*-----------navigation bar-----------*/
.navbar {
    font-family: 'Poppins', serif;
    font-weight: 300;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 5px;
    top: 0;           
    z-index: 1000;     
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white; 
    white-space: nowrap;
    position: sticky;
}
.logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}
.logo img {
    height: 95px;
    margin-right: 10px;
}
.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 25px;
    color: #000;
}

.nav-links {
    display: flex;
    flex-wrap: wrap;
    
}
.nav-links a {
    text-decoration: none;
    color: #000;
    margin: 0 10px;
    font-size: 15px;
    padding: 8px 24px;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.nav-links .current {
    background-color: #4b3306;
    color: #fff;
}

.nav-links a:hover {
    background-color: #4b3306;
    color: #fff;
}



/* Mobile Navigation */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #000;
}

.nav-links.mobile-active {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}


@media (max-width: 768px) {
    body {
        padding: 15px 10px 30px;
    }
    
    .navbar {
        padding: 8px 15px;
        flex-wrap: wrap;
    }
    
    .logo img {
        height: 70px;
    }
    
    .logo-text {
        font-size: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        order: 4;
        margin-top: 15px;
    }
    
    .nav-links.mobile-active {
        display: flex;
        position: static;
        box-shadow: none;
        padding: 0;
        gap: 10px;
    }
    
    .nav-links a {
        margin: 0;
        padding: 12px 16px;
        text-align: center;
        flex: 1;
        font-size: 14px;
    }

}
@media (max-width: 480px) {
    .navbar {
        padding: 6px 10px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .nav-links a {
        font-size: 13px;
        padding: 10px 14px;
    }
    .mobile-menu-toggle {
        font-size: 20px;
    }   

}


/* Booking form */
.BookingForm {
    flex: 1.9;
    background-color: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #302105;
    transform: scale(0.8); 
    transform-origin: center; 
    margin-left: -5%;
    margin-top: -2%;
}


.bookingform-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.bookingform-group {
    font-family: 'Poppins', serif;
    position: relative;
}

.bookingform-group.full-width {
    grid-column: 1 / -1; /
}

.form-title {
    font-family: 'Playfair Display', Georgia, serif;
    margin-left: 2rem;
    font-size: 2.5rem;
    font-weight:bold;
    color: #4b3306;
    margin-bottom: 0;
    margin-top: 0.3rem;
}

.form-subtitle {
    font-family: 'Poppins', serif;
    color: #666;
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-left: 2rem;
    margin-top: 5px;
}

.form-icon {
    position: absolute;
    left: 0.75rem; 
    top: 50%;
    transform: translateY(-50%);
    color: #575555;
    font-size: 1.1rem;
    z-index: 1; 
}

.form-control {
    font-family: 'Poppins', serif;
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 1rem;
    background: transparent;
    transition: all 0.3s ease;
    color: #575555;
    box-sizing: border-box; 
}

.form-control {
    height: 3.5rem; /* About 56px */
}

.bookingform-group textarea.form-control {
    height: 3.5rem;
    line-height: 2;
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow: hidden;
}

.form-control.with-icon {
    padding-left: 2.5rem;
}

.form-control:focus {
    outline: none;
}

.payment-title {
    font-size: 1.6rem;
    font-weight: 500;
    color: #575555;
    text-align: left;
    letter-spacing: 0.5px;
}

.payment-grid {
    color: #575555;   
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-detailsgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}


.payment-detailsgrid span{
    font-size: 1.2rem;
    color: #575555;   
}

.priceDisplay{
    text-align: right;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-option:hover {
    border-color: #8B4513;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
}

.payment-option.active {
    border-color: #8B4513;
    background: #faf7f2;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.15);
}

.proceedPayment{
    background-color: #dbb104;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.cancelPayment{
    text-decoration: none;
    font-weight: 500;
    background-color: #dfded9;
    color: rgb(0, 0, 0);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    width: 100%;
}
.cancelPayment a,
.cancelPayment a:link,
.cancelPayment a:visited,
.cancelPayment a:hover,
.cancelPayment a:active,
.cancelPayment a:focus {
    text-decoration: none;
    color: #000;   
}

.card-icon {
width: 38px;
height: 32px;
background: #666;
border-radius: 6px;
position: relative;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-size: 0.8rem;
flex-shrink: 0;
}

.card-icon::before {
content: '';
position: absolute;
top: 8px;
left: 8px;
width: 12px;
height: 8px;
background: rgba(255, 255, 255, 0.3);
border-radius: 2px;
}

.card-icon::after {
content: '';
position: absolute;
bottom: 8px;
left: 8px;
width: 32px;
height: 2px;
background: rgba(255, 255, 255, 0.5);
border-radius: 1px;
}

.payment-text {
font-size: 1.1rem;
color: #666;
font-weight: 400;
letter-spacing: 0.3px;
}

.payment-option.active .payment-text {
color: #333;
font-weight: 500;
}


/* Maya specific styling */
.maya-icon {
width: 48px;
height: 32px;
background: linear-gradient(135deg, #00A651, #00C853);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 0.9rem;
flex-shrink: 0;
}

/* GCash specific styling */
.gcash-icon {
width: 48px;
height: 32px;
background: linear-gradient(135deg, #007DFF, #0099FF);
border-radius: 6px;
display: flex;
align-items: center;
justify-content: center;
color: white;
font-weight: bold;
font-size: 0.8rem;
flex-shrink: 0;
}

/* Responsive design */
@media (max-width: 600px) {
.payment-grid {
    grid-template-columns: 1fr;
}

.maya-option {
    grid-column: 1;
    grid-row: 3;
}

.payment-title {
    font-size: 1.5rem;
}

.payment-container {
    padding: 1.5rem;
    margin: 1rem;
}
}

/* Selection indicator */
.payment-option .check-mark {
position: absolute;
top: 10px;
right: 10px;
width: 20px;
height: 20px;
border: 2px solid #ddd;
border-radius: 50%;
background: white;
opacity: 0;
transition: all 0.3s ease;
}

.payment-option.active .check-mark {
opacity: 1;
border-color: #8B4513;
background: #8B4513;
}

.payment-option.active .check-mark::after {
content: '✓';
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
font-size: 12px;
font-weight: bold;
}


@media (max-width: 600px) {

.bookingPage{
    flex-direction: column;          
    gap: 2rem;         
    padding: 1.5rem 1rem;           
    height: auto;            
}
.SalonBranch,
.BookingForm{
    flex: 1 1 100%;
    max-width: 100%;
    border-radius: 24px;        
    padding: 1.25rem;
}

.branchImage{
    height: 220px;                 
    max-width: none;        
    border-radius: 16px;
}
.branchImage img{
    border-radius: 16px; 
}

.form-title{ 
    font-size: 1.4rem; 
    margin-left: 0; 
}
.form-subtitle{ 
    margin-left: 0;  
    font-size: .95rem; 
}
.bookingform-grid { 
    grid-template-columns: 1fr; 
}
.bookingform-group.full-width { 
    grid-column: 1 / -1; 
}
.payment-grid{
    grid-template-columns: 1fr; 
    gap: 1rem;
}
.payment-title    { 
    font-size: 1rem; 
}
.bookingform-grid button{
    font-size: .95rem;
    padding: .9rem 1rem;
}
.SalonBranch,
.BookingForm{
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.form-control {
    font-size: 15px;
    padding: 12px 16px;
}

.proceedPayment,
.cancelPayment {
    padding: 14px 24px;
    font-size: 15px;
    width: 100%;
    margin: 5px 0;
}

.payment-option {
    padding: 18px 16px;
}

.payment-text {
    font-size: 1rem;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.SalonBranch {
    min-height: auto;
}

.branchInfo h2 {
    font-size: 1.3rem;
}

.aboutBranch {
    font-size: 0.9rem;
}
}

@media (max-width: 480px) {
    .bookingPage {
        padding: 1rem 0.8rem;
        gap: 1.5rem;
    }

    .SalonBranch,
    .BookingForm {
        padding: 1rem;
        border-radius: 20px;
    }

    .form-title {
        font-size: 1.2rem;
    }

    .form-subtitle {
        font-size: 0.85rem;
    }

    .form-control {
        font-size: 14px;
        padding: 10px 14px;
    }

    .proceedPayment,
    .cancelPayment {
        padding: 12px 20px;
        font-size: 14px;
    }

    .payment-option {
        padding: 14px 12px;
    }

    .payment-text {
        font-size: 0.95rem;
    }

    .branchImage {
        height: 180px;
    }

    .branchInfo h2 {
        font-size: 1.1rem;
    }
}


/* Page Header */
.page-header {
    text-align: center;
    padding: 20px;
    background:linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.page-header h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #c8860d, #f4e19c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(144, 98, 48, 0.3);
}

.page-header p {
    font-size: 15px;
    color: #ffffff;
}

/* Locations Page */
.locations-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.location-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.location-card:hover {
    transform: translateY(-5px);
}

.location-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.location-info {
    padding: 20px;
}

.location-info h3 {
    font-family: 'DM Serif Display', serif;
    font-weight: 200;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 5px;
    font-size: 20px;
}

.location-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.direction-btn {
    display: inline-block;
    color: #c8860d;
    padding: 8px 0px;
    border-radius: 25px;
    text-decoration:none;
    font-weight: 500;
    transition: background 0.3s;
}

.direction-btn:hover {
    background: #ffffff;
}

/* Services Page */

.servicesPic {
    display: flex;
    justify-content: center;
    align-items: center;
}

.servicesPic img {
    width:auto;
    max-width: 90%;
    height:auto;
    max-height: 100%;
}

.service-header {
    text-align: center;
    padding: 20px;
    background-color: #311e03;
}

.service-header h1 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 0px;
}

.service-header p {
    font-size: 15px;
    color: #e7e6e6;
}



/*-----------body of register/login------------*/
 .bodyHome {
    position: relative;
    background: url('photos/homepage.png') no-repeat center center/cover;
    color: #fff;
    padding: 1rem 1rem;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
}

.bodyHomeOverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(26, 26, 26, 0.8);
    z-index: 0;
}

.bodyHomeContent {
    font-family: 'Poppins', serif;
    text-align: center;
    z-index: 1;
    max-width: 80%;
    margin-top:5rem; 
}


.bodyRegister {
    position:absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    transform: translate(-50%, -50%);
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    z-index: 1;
}

.bodyRegisterContent {
    width: 50%;
    color: #4b3306;
    flex: 1;
    align-items: center;
    justify-content: center;
    padding-right: 40px;
}

.password-reset {
    color: #4b3306;
    text-align: justify;
    font-size: 15px;
    margin-left: 10px;
    margin-bottom: 20px;
    font-weight: 400;
}

.password-error {
    background-color: #f8d7da;
    color: #a42934;
    padding: 12px;
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    width:100%;
}

.password-success{
    background-color: #d7f8d9;
    color: #40a429;
    padding: 12px;
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    width:100%;
}

.error-message {
    background-color: #f8d7da;
    color: #a42934;
    padding: 12px;
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
    width:100%;
}


.bodyRegisterContent h1 {
    font-family: 'DM Serif Display', Georgia, serif;
    color: #333;
    font-weight: 200;
    text-align: center;
    margin-bottom: 30px;
    font-size: 30px;
}

.bodyRegisterContent label {
    color: #4b3306;
    font-size: 15px;
    margin-left: 10px;
    
}

.bodyRegister input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #f0f0f0;
}
.submit-btn {
    background-color: #4b3306;
    color: #fff;
    border: none;
    padding: 22px 40px;
    border-radius: 35px;
    cursor: pointer;
    width: 50%;
    margin-left: 90px;
    margin-top: 10px;
}
.submit-btn:hover {
    background-color: #3a2704;
}
.login-link {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
}

.login-link a {
    color: #4b3306;
    text-decoration: none;
    font-weight: bold;
}
.logo-section {
    width: 50%;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-section img {
    width: 100%;
    height: auto;
}

.forgot-pass {
    text-align:left;
    margin-left: 10px;
    font-size: 12px;
}

.forgot-pass a {
    color: #4b3306;
    text-decoration: none;
}

/* Mobile responsiveness for signin/signup forms */
@media (max-width: 768px) {
    .bodyRegister {
        width: 95%;
        max-width: 500px;
        flex-direction: column;
        padding: 20px;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .bodyRegisterContent {
        width: 100%;
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    .bodyRegisterContent h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .bodyRegister input {
        padding: 14px;
        margin-bottom: 12px;
        font-size: 16px;
    }
    
    .submit-btn {
        width: 100%;
        margin-left: 0;
        padding: 16px 30px;
        font-size: 16px;
    }
    
    .logo-section {
        width: 100%;
        padding-top: 20px;
        border-top: 1px solid #ddd;
    }
    
    .logo-section img {
        max-width: 200px;
    }
    
    .password-reset,
    .password-error,
    .password-success,
    .error-message {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .bodyRegister {
        width: 90%;
        padding: 15px;
        border-radius: 20px;
    }
    
    .bodyRegisterContent h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .bodyRegisterContent label {
        font-size: 14px;
    }
    
    .bodyRegister input {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 14px 25px;
        font-size: 14px;
    }
    
    .login-link {
        font-size: 13px;
    }
}

/*-----------book appointment------------*/



.bgBook {
    position: relative;
    background: url('photos/bgapp.png') no-repeat center center/cover;
    color: #fff;
    padding: 50px 20px;
    height: 80vh;
}

.bgBookContent {
    position:absolute;
    top: 48%;
    left: 10%;
    right: 10%;
    text-align: center;
    position: absolute;
    padding-top: 4%;
    z-index: 1;
}
.bgBook h1 {
    font-family: Georgia, Times, 'Times New Roman', serif;
    text-shadow: 1px 1px 1px #000000;
    font-size: 70px;
    margin-bottom: 5%;
    margin-top: 0;
}

.bgBook p {
    text-align: justify;
    font-weight: 200;
    font-size: 25px;
    max-width: 900px;
    margin: 0 auto 100px;
}
.join-btn {
    font-family: 'Poppins', serif;
    text-decoration: none;
    background-color: #fff;
    font-size: 40px;
    color: #4b3306;
    padding: 20px 50px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.join-btn:hover {
    background-color: #4b3306;
    color: #fff;
}



/* Confirmation Page Styles */

.confirm-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 2rem;
    min-height: calc(100vh - 100px);
}

.success-header {
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4af37, #f4e99b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: successPulse 2s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(212,175,55,0.3);
}

.success-icon::before {
    content: '✓';
    font-size: 3rem;
    color: white;
    font-weight: bold;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 300;
}

.confirmation-card {
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    border: 2px solid #f0f0f0;
}

.card-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    position: relative;
}

.card-header h1 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
}

.card-header p {
    font-size: 1.2rem;
    color: #e1e1e1;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}



.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(212,175,55,0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
    100% { transform: translateX(-100%) rotate(45deg); }
}

.card-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
}

.appointment-id {
    font-size: 1rem;
    opacity: 0.8;
    color: #f4e99b;
    position: relative;
    z-index: 2;
}

.card-body {
    padding: 3rem;
    background: #ffffff;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212,175,55,0.2);
    border-color: #d4af37;
}

.detail-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #d4af37, #f4e99b);
}

.detail-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
}

.price-highlight {
    background: linear-gradient(135deg, #d4af37, #f4e99b);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
    box-shadow: 0 15px 40px rgba(212,175,55,0.3);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
}

.payment-method {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

.actions-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #f4e99b);
    color: #1a1a1a;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(212,175,55,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212,175,55,0.4);
}

.btn-secondary {
    background: #ffffff;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.quick-btn {
    background: #ffffff;
    border: 2px solid #f0f0f0;
    color: #1a1a1a;
    padding: 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.quick-btn:hover {
    background: #f8f9fa;
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.2);
    color: #1a1a1a;
}

.reminder-section {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    margin-bottom: 2rem;
}

.reminder-section h3 {
    font-family: 'Playfair Display', serif;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.reminder-list {
    color: #666;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
}


.reminder-list li {
    list-style: none;
    margin-bottom: 0.5rem;
}

.contact-info {
    background: #161616;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: #fed84f;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-details {
    color: #ededed;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .main-container {
        padding: 2rem 1rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .card-body {
        padding: 2rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .actions-section {
        grid-template-columns: 1fr;
    }

    .quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .success-icon {
        width: 80px;
        height: 80px;
    }

    .success-icon::before {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-item {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease-out forwards;
}


.payment-options input[type="radio"] {
    display: none;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.time-slot {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover {
    border-color: #4b3306;
}

.time-slot.selected {
    background-color: #4b3306;
    color: white;
    border-color: #4b3306;
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}


#bookingPriceDisplay {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    padding: 10px 0;
}


/* Custom Checkbox Styling */
.terms-checkbox {
    margin: 20px 0;
}

.custom-checkbox {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.custom-checkbox input[type="checkbox"] {
    /* Hide default checkbox */
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #4b3306;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #4b3306;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 1rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-checkbox label {
    font-weight: 400;
    cursor: pointer;
    font-size: 1rem;
    color: #575555;
}

.custom-checkbox a {
    color: #575555;
    text-decoration: underline;
    
}

.custom-checkbox a:hover {
    color: #3a2704;
}

.error-message {
    color: #721c24;
    margin-bottom: 20px;
}


/* Payment Modal Styles */
.payment-processing {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7);
display: none;
align-items: center;
justify-content: center;
z-index: 10000;
}

.payment-processing-content {
background: white;
padding: 2rem;
border-radius: 10px;
text-align: center;
max-width: 400px;
}

.payment-spinner {
width: 40px;
height: 40px;
border: 4px solid #f3f3f3;
border-top: 4px solid #007bff;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto 1rem;
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

.payment-option.disabled {
    opacity: 0.5;
    pointer-events: none;
}







.error {
    background: #fee2e2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
    font-weight: 500;
}



/* Footer */
.footer {
background: #1a1a1a;
color: white;
padding: 3rem 5%;
text-align: center;
}

.footer-content {
max-width: 1200px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
}

.footer-section h4 {
font-family: 'DM Serif Display', serif;
font-size: 1.5rem;
color: #c8860d;
margin-bottom: 1rem;
}

.social-links {
display: flex;
justify-content: center;
gap: 1rem;
margin-top: 1rem;
}

.social-icon {
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
text-decoration: none;
transition: transform 0.3s ease;
}

.fb{
    background: #ffffff;
    color: rgb(43, 76, 169);
}

.social-icon:hover {
transform: scale(1.1);
}

/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}

.fade-in {
animation: fadeInUp 1s ease-out;
}

/* Mobile responsiveness for confirmation page */
@media (max-width: 768px) {
    .confirm-container {
        padding: 1.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .success-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .confirmation-card {
        padding: 1.5rem;
    }

    .card-header {
        padding: 2rem 1rem;
    }

    .card-header h1 {
        font-size: 2rem;
    }

    .card-header p {
        font-size: 1rem;
    }

    .card-header h2 {
        font-size: 1.5rem;
    }

    .details-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-item {
        padding: 1rem;
    }

    .detail-label {
        font-size: 0.85rem;
    }

    .detail-value {
        font-size: 1rem;
    }

    .actions-section {
        flex-direction: column;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .quick-btn {
        padding: 0.9rem;
    }

    .reminder-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .confirm-container {
        padding: 1rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .success-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .confirmation-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .card-header {
        padding: 1.5rem 0.8rem;
    }

    .card-header h1 {
        font-size: 1.75rem;
    }

    .card-header h2 {
        font-size: 1.3rem;
    }

    .appointment-id {
        font-size: 0.9rem;
    }

    .detail-item {
        padding: 0.8rem;
    }

    .btn {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }

    .quick-btn {
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .reminder-list {
        font-size: 0.9rem;
    }
}

