:root {
    --primary-color: #4a148c;
    --secondary-color: #7b1fa2;
    --accent-color: #e91e63;
    --light-color: #f3e5f5;
    --dark-color: #12005e;
    --album-section: #fff8e1;
    --event-selected: #f8bbd0;
    --hindi-btn: #FF9933;
    --english-btn: #138808;
    --remove-btn: #f44336;
    --edit-btn: #2196F3;
    --video-editing-section: #e8f5e9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
}

.logo {
    position: absolute;
    top: 10px;
    left: 20px;
    height: 60px;
    width: auto;
}

h1 {
    margin: 0;
    font-size: 2.2rem;
}

.studio-info {
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.language-toggle {
    display: flex;
    justify-content: center;
    margin: 10px 0;
    gap: 10px;
}

.lang-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.hindi-btn {
    background-color: var(--hindi-btn);
    color: white;
}

.english-btn {
    background-color: var(--english-btn);
    color: white;
}

.lang-btn.active {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.booking-form {
    background-color: white;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

h2 {
    color: var(--primary-color);
    margin-top: 0;
    font-size: 1.5rem;
}

h3 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(123, 31, 162, 0.2);
}

.event-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    width: 100%;
}

.event-option {
    background-color: var(--light-color);
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.event-option:hover {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.event-option.selected {
    border-color: var(--accent-color);
    background-color: var(--event-selected);
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.2);
}

.event-option i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.event-date-container {
    margin-top: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 6px;
    display: none;
    width: 100%;
}

.event-date-container.show {
    display: block;
}

.camera-options {
    margin-top: 20px;
    width: 100%;
    display: none;
}

.camera-options.show {
    display: block;
}

.camera-item {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.camera-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3));
    z-index: 1;
    pointer-events: none;
}

.camera-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.camera-title {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
    width: 40%;
}

.price {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 60%;
    justify-content: flex-end;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    width: 30%;
    text-align: right;
}

.offer-price {
    color: var(--accent-color);
    font-weight: 700;
    width: 30%;
    text-align: right;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    justify-content: flex-end;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background-color: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-btn:hover {
    transform: scale(1.1);
}

.quantity-input {
    width: 50px;
    text-align: center;
    font-weight: bold;
}

.submit-event-btn {
    margin-top: 15px;
    display: none;
}

.submit-event-btn.show {
    display: block;
}

.booked-events {
    margin-top: 20px;
    display: none;
}

.booked-events.show {
    display: block;
}

.booked-event {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    position: relative;
}

.booked-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.booked-event-title {
    font-weight: bold;
    color: var(--primary-color);
}

.booked-event-date {
    color: #666;
}

.booked-event-cameras {
    margin-top: 10px;
}

.booked-event-camera {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #ddd;
}

.booked-event-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.edit-btn, .remove-btn {
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    color: white;
}

.edit-btn {
    background-color: var(--edit-btn);
}

.remove-btn {
    background-color: var(--remove-btn);
}

.summary {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    width: 100%;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    width: 100%;
}

.total {
    font-weight: 700;
    font-size: 1.2rem;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}

.btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
}

.btn:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
}

.btn i {
    font-size: 1.2rem;
}

.hidden {
    display: none;
}

.album-section {
    background-color: var(--album-section);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
}

.album-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 15px;
    width: 100%;
}

.album-option {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.album-option.selected {
    border-color: var(--accent-color);
    background-color: #ffecb3;
    transform: scale(1.05);
}

.terms-section {
    background-color: #ffebee;
    padding: 15px;
    border-radius: 6px;
    margin-top: 20px;
    font-size: 0.9rem;
    width: 100%;
}

.terms-section h4 {
    margin-top: 0;
    color: #c62828;
}

.address-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.advance-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.advance-option {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background-color: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.advance-option.selected {
    border-color: var(--accent-color);
    background-color: #f8bbd0;
}

.advance-option input {
    width: auto;
    margin-right: 10px;
}

.advance-option-label {
    flex: 1;
}

.advance-option-price {
    font-weight: bold;
    color: var(--accent-color);
}

.discount-section {
    margin-top: 15px;
    padding: 15px;
    background-color: #e8f5e9;
    border-radius: 6px;
    width: 100%;
}

.discount-input {
    display: flex;
    gap: 10px;
    width: 100%;
}

.discount-input input {
    flex: 1;
}

.view-discount {
    color: #2196F3;
    cursor: pointer;
    font-size: 0.9rem;
    margin-top: 5px;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
    width: 100%;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    border: none;
    color: white;
    font-size: 16px;
}

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

.whatsapp-btn {
    background-color: #25D366;
}

.email-btn {
    background-color: #EA4335;
}

.share-btn {
    background-color: #4285F4;
}

.download-btn {
    background-color: #673AB7;
}

.preview-btn {
    background-color: #FF9800;
}

.confirm-btn {
    background-color: #4CAF50;
    grid-column: span 2;
}

.advance-edit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 10px;
}

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

.popup-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
}

.popup-content h3 {
    margin-top: 0;
    color: var(--primary-color);
}

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

.popup-btn {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.popup-cancel {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
}

.popup-ok {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

/* Video Editing Section */
.video-editing-section {
    background-color: var(--video-editing-section);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    width: 100%;
}

.video-packages {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 15px;
}

.video-package {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 5px solid var(--primary-color);
}

.video-package.selected {
    border-color: var(--accent-color);
    background-color: #e1f5fe;
    transform: scale(1.02);
}

.video-package-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.video-package-title {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.video-package-price {
    font-weight: bold;
    color: var(--accent-color);
}

.video-package-features {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

.video-package-features ul {
    padding-left: 20px;
}

.video-package-features li {
    margin-bottom: 5px;
}

.video-package-btn {
    margin-top: 10px;
    text-align: right;
}

/* Booking ID Section */
.booking-id-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.booking-id-display {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.booking-date-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.booking-date-display {
    font-weight: bold;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .container {
        padding: 0;
    }
    
    .booking-form {
        padding: 15px;
    }
    
    .address-fields {
        grid-template-columns: 1fr;
    }
    
    .event-types {
        grid-template-columns: 1fr 1fr;
    }
    
    .album-types {
        grid-template-columns: 1fr 1fr;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
    }
    
    .confirm-btn {
        grid-column: span 1;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    .camera-title {
        width: 50%;
    }
    
    .price {
        width: 50%;
    }
    
    .logo {
        position: relative;
        margin-bottom: 10px;
        left: 0;
        top: 0;
    }
}

@media (max-width: 480px) {
    .event-types {
        grid-template-columns: 1fr;
    }
    
    .camera-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .price {
        width: 100%;
        justify-content: space-between;
    }
    
    .camera-title, .original-price, .offer-price {
        width: 100%;
        text-align: left;
    }
}
/* Improved button styles */
.action-btn {
    position: relative;
    overflow: hidden;
}

.action-btn:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 1;
    }
    20% {
        transform: scale(25, 25);
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(40, 40);
    }
}

.action-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

/* Loading indicator for buttons */
.action-btn.loading {
    position: relative;
    color: transparent;
}

.action-btn.loading:after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error message styling */
.error-message {
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

.input-error {
    border-color: #f44336 !important;
}

.input-error:focus {
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2) !important;
}