/* Main Styles for IDFFN Upload Plugin */
:root {
    --primary-color: #25D366;
    --secondary-color: #0073aa;
    --accent-color: #FF6B6B;
    --dark-color: #2D3748;
    --light-color: #F7FAFC;
    --gray-color: #A0AEC0;
    --success-color: #38A169;
    --warning-color: #D69E2E;
    --danger-color: #E53E3E;
}

/* Welcome Notification */
.auto-welcome-notification {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    animation: slideInDown 0.5s ease;
}

@keyframes slideInDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.contact-info .tooltip-text{
	display:none;
}
.notification-content {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #005a87);
    color: white;
}

.notification-icon {
    font-size: 2.5rem;
    margin-right: 15px;
    color: var(--primary-color);
}

.notification-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
}

.notification-text p {
    margin: 0;
    opacity: 0.9;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.3s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-actions {
    display: flex;
    padding: 15px 20px;
    background: var(--light-color);
    gap: 10px;
}

.notification-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.whatsapp-notify-btn {
    background: var(--primary-color);
    color: white;
}

.whatsapp-notify-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.upload-notify-btn {
    background: var(--secondary-color);
    color: white;
}

.upload-notify-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}

/* Floating Action Buttons */
.floating-action-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.fab-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.fab-btn:nth-child(1) { animation-delay: 0.1s; }
.fab-btn:nth-child(2) { animation-delay: 0.2s; }
.fab-btn:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fab-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.main-fab {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    z-index: 2;
}

.whatsapp-fab {
    background: var(--primary-color);
}

.upload-fab {
    background: var(--accent-color);
}

.fab-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-badge {
    position: absolute;
    top: -25px;
    right: -10px;;
    background: var(--danger-color);
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.fab-badge.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.fab-label {
    position: absolute;
    right: 70px;
    background: var(--dark-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.fab-btn:hover .fab-label {
    opacity: 1;
    transform: translateX(0);
}

.fab-ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid currentColor;
    width: 100%;
    height: 100%;
    animation: ripple 1.5s infinite;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* WhatsApp Call Interface */
.whatsapp-call-interface {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9998;
    overflow: hidden;
    display: none;
    animation: slideInRight 0.5s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.call-header {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

.caller-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px;
}

.caller-avatar {
    position: relative;
    width: 60px;
    height: 60px;
}

.caller-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
}

.status-ring {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: ringPulse 2s infinite;
}

.status-ring.delay-1 { animation-delay: 0.4s; }
.status-ring.delay-2 { animation-delay: 0.8s; }

@keyframes ringPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.caller-details h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.call-status-text {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.call-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.call-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.call-body {
    padding: 20px;
}

.call-timer {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--dark-color);
    margin: 20px 0;
    font-family: monospace;
}

.call-animation {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.sound-wave {
    display: flex;
    align-items: center;
    gap: 5px;
    height: 50px;
}

.wave {
    width: 8px;
    background: var(--primary-color);
    border-radius: 4px;
    animation: wave 1.5s ease-in-out infinite;
}

.wave:nth-child(1) { height: 20px; animation-delay: 0.1s; }
.wave:nth-child(2) { height: 30px; animation-delay: 0.2s; }
.wave:nth-child(3) { height: 40px; animation-delay: 0.3s; }
.wave:nth-child(4) { height: 30px; animation-delay: 0.4s; }
.wave:nth-child(5) { height: 20px; animation-delay: 0.5s; }

@keyframes wave {
    0%, 100% { height: 20px; }
    50% { height: 50px; }
}

.call-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.call-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--dark-color);
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
}

.call-action-btn:hover {
    background: var(--light-color);
}

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

.call-action-btn span {
    font-size: 0.8rem;
}

.call-controls {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.control-btn {
    width: 180px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

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

.decline-btn:hover {
    background: #c53030;
    transform: scale(1.1);
}

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

.accept-btn:hover {
    background: #2f855a;
    transform: scale(1.1);
}

.call-options {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
    color: var(--dark-color);
    text-align: center;
    width: 100px;
}

.option:hover {
    background: var(--light-color);
    transform: translateY(-2px);
}

.option i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.option span {
    font-size: 0.8rem;
}
/* Ensure modals are hidden by default */
.video-upload-studio,
.whatsapp-call-interface {
    display: none !important;
}

/* Show class for modals */
.modal-show {
    display: block !important;
}

/* Overlay for modals */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    display: none;
}

/* .overlay.show {
    display: block;
} */

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Smooth transitions */
.video-upload-studio,
.whatsapp-call-interface,
.overlay {
    transition: all 0.3s ease;
}

/* Animation for modals */
@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-show {
    animation: modalIn 0.3s ease;
}
/* Video Upload Studio */
.video-upload-studio {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    overflow: hidden;
    display: none;
    animation: modalIn 0.5s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.studio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--secondary-color), #005a87);
    color: white;
}

.studio-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-title i {
    font-size: 1.5rem;
}

.studio-title h3 {
    margin: 0;
    font-size: 1.3rem;
}

.studio-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background 0.3s;
}

.studio-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.studio-body {
    padding: 30px;
    overflow-y: auto;
    max-height: calc(80vh - 110px);
}

.studio-step {
    display: none;
}

.studio-step.active {
    display: block;
}

/* Step 1: Upload */
.upload-hero {
    text-align: center;
}

.upload-animation {
    position: relative;
    height: 150px;
    margin-bottom: 30px;
}

.film-reel {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;
}

.reel {
    width: 60px;
    height: 60px;
    border: 8px solid var(--gray-color);
    border-radius: 50%;
    background: repeating-radial-gradient(
        circle at center,
        transparent 0 8px,
        var(--gray-color) 8px 16px
    );
    animation: spin 10s linear infinite;
}

.reel:first-child {
    animation-direction: reverse;
}

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

.upload-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--secondary-color);
    border: 3px dashed var(--secondary-color);
}

.upload-hero h4 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.upload-hero p {
    margin: 0 0 30px 0;
    color: var(--gray-color);
}

/* Upload Method Selector */
.upload-method-selector {
    background: var(--light-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.method-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.method-tab {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    color: var(--dark-color);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.method-tab.active {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.method-tab:not(.active):hover {
    border-color: var(--secondary-color);
}

.method-content {
    display: none;
}

.method-content.active {
    display: block;
}

/* File Upload Section */
.upload-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.action-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    background: var(--secondary-color);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.action-btn:hover {
    background: #005a87;
    transform: translateY(-2px);
}

.browse-video {
    background: var(--primary-color);
}

.browse-video:hover {
    background: #128C7E;
}

.file-info {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: 2px solid var(--light-color);
}

.file-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.file-details i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.file-name {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

.file-size {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.file-progress {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--light-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-color);
    min-width: 40px;
}

/* URL Submission Section */
.url-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.input-with-icon {
    flex: 1;
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.input-with-icon input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid var(--light-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.verify-url {
    background: var(--success-color);
}

.verify-url:hover {
    background: #2f855a;
}

.url-info {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    border: 2px solid var(--light-color);
}

.url-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.url-details i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.url-status {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
}

.url-platform {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.url-preview {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
}

.url-help {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.url-help i {
    color: var(--secondary-color);
}
/* Creative Form Styles */
.creative-form {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Info Header */
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 115, 170, 0.1);
}

.info-header h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.4rem;
    color: var(--dark-color);
}

.info-header h5 i {
    color: var(--secondary-color);
}

.form-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.progress-track {
    width: 200px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-weight: 500;
}

/* Creative Sections */
.creative-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.creative-section:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 8px 25px rgba(0, 115, 170, 0.1);
}

.creative-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creative-section:hover::before {
    opacity: 1;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.section-header i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    background: rgba(0, 115, 170, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h6 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    flex: 1;
}

.section-badge {
    background: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Creative Form Grid */
.creative-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Creative Input Styles */
.creative-input {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.creative-input:focus-within {
    border-color: var(--secondary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.1);
}

.input-icon {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
}

.input-icon i {
    font-size: 1.2rem;
    color: var(--gray-color);
    transition: color 0.3s ease;
}

.creative-input:focus-within .input-icon i {
    color: var(--secondary-color);
}

.input-content {
    flex: 1;
}

.creative-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-color);
}



.creative-input input,
.creative-input textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.creative-input input:focus,
.creative-input textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.input-hint {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-hint i {
    font-size: 0.8rem;
}

/* Duration Input */
.duration-input {
    position: relative;
}

.duration-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 0.9rem;
}

.duration-indicator {
    margin-top: 15px;
}

.duration-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.duration-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.duration-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-color);
}

/* Email Verification */
.email-input-wrapper {
    position: relative;
}

.verify-email-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--success-color);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.verify-email-btn:hover {
    background: #2f855a;
    transform: translateY(-50%) scale(1.1);
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--gray-color);
}

.verification-status i {
    font-size: 0.9rem;
}

/* Synopsis Section */
.synopsis-section .creative-textarea {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.textarea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.textarea-header label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.word-count {
    font-size: 0.85rem;
    color: var(--gray-color);
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.textarea-wrapper {
    position: relative;
}

.creative-textarea textarea {
    min-height: 150px;
    resize: vertical;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-right: 40px;
}

.textarea-tools {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.tool-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-color);
    transition: all 0.2s ease;
}

.tool-btn:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.85rem;
}

.format-hints {
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.character-count {
    color: var(--gray-color);
}

/* Country Selector */
.country-selector {
    position: relative;
}

.country-flag {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.country-flag img {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

.country-dropdown {
    width: 100%;
    padding: 12px 12px 12px 40px !important;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: var(--dark-color);
    font-size: 1rem;
    cursor: pointer;
}

.country-search {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-top: 5px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.country-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
}

.country-search input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.country-selector:focus-within .country-search {
    display: block;
}

.selected-country {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(0, 115, 170, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-country::before {
    content: "📍";
    font-size: 1rem;
}

/* Language Tags */
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.language-tag {
    background: var(--light-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-color);
}

.language-tag i {
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.language-tag i:hover {
    opacity: 1;
}

.add-language-btn {
    background: transparent;
    border: 1px dashed var(--gray-color);
    color: var(--gray-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.add-language-btn:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

/* Year Input with Timeline */
.year-indicator {
    margin-top: 15px;
}

.year-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    position: relative;
    margin-bottom: 25px;
}

.year-marker {
    position: absolute;
    top: -10px;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.year-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--dark-color);
    white-space: nowrap;
}

.year-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-color);
}

/* Validation Summary */
.validation-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-header i {
    font-size: 1.2rem;
    color: var(--success-color);
}

.summary-header h6 {
    margin: 0;
    flex: 1;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.checklist-count {
    background: var(--light-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-color);
    font-weight: 600;
}

.checklist-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checklist-item:hover {
    background: #f1f5f9;
}

.checklist-item i {
    color: var(--gray-color);
    transition: all 0.3s ease;
}

.checklist-item.completed i {
    color: var(--success-color);
}

.checklist-item.completed {
    background: rgba(56, 161, 105, 0.1);
}

.checklist-item span {
    font-size: 0.9rem;
    color: var(--dark-color);
}

.checklist-item.completed span {
    text-decoration: line-through;
    opacity: 0.7;
}

/* Preview Container Enhancements */
.preview-container {
    position: relative;
    background: #1a202c;
    border-radius: 12px;
    overflow: hidden;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.preview-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.preview-label i {
    font-size: 1.2rem;
}

.preview-actions {
    display: flex;
    gap: 10px;
}

.preview-action-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.preview-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .creative-form-grid {
        grid-template-columns: 1fr;
    }
    
    .info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .form-progress {
        width: 100%;
    }
    
    .progress-track {
        width: 100%;
    }
    
    .creative-input {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-icon {
        padding-top: 0;
    }
    
    .checklist-items {
        grid-template-columns: 1fr;
    }
    
    .duration-labels {
        font-size: 0.7rem;
    }
    
    .preview-overlay {
        padding: 15px;
    }
    
    .section-header {
        flex-wrap: wrap;
    }
}

/* Animation for checklist completion */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.checklist-item.completed i {
    animation: checkmark 0.3s ease;
}

/* Focus animations */
@keyframes inputFocus {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.4);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(0, 115, 170, 0);
    }
}

.creative-input input:focus,
.creative-input textarea:focus {
    animation: inputFocus 0.3s ease;
}

/* Hover effects for interactive elements */
.creative-input,
.creative-textarea,
.checklist-item {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Loading states */
.creative-input.loading {
    position: relative;
    overflow: hidden;
}

.creative-input.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}


/* Creative Form Styles - Documentary Details */
.creative-form {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

/* Info Header */
.info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(0, 115, 170, 0.1);
}

.info-header h5 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.4rem;
    color: #2D3748;
}

.info-header h5 i {
    color: #0073aa;
}

.form-progress {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.progress-track {
    width: 200px;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #25D366, #0073aa);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: #A0AEC0;
    font-weight: 500;
}

/* Creative Sections */
.creative-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.creative-section:hover {
    border-color: #0073aa;
    box-shadow: 0 8px 25px rgba(0, 115, 170, 0.1);
}

.creative-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #0073aa, #25D366);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creative-section:hover::before {
    opacity: 1;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.section-header i {
    font-size: 1.2rem;
    color: #0073aa;
    background: rgba(0, 115, 170, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-header h6 {
    margin: 0;
    font-size: 1.1rem;
    color: #2D3748;
    flex: 1;
}

.section-badge {
    background: #0073aa;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Creative Form Grid */
.creative-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Creative Input Styles */
.creative-input {
    display: flex;
    gap: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.creative-input:focus-within {
    border-color: #0073aa;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.1);
}

.input-icon {
    display: flex;
    align-items: flex-start;
    padding-top: 10px;
}

.input-icon i {
    font-size: 1.2rem;
    color: #A0AEC0;
    transition: color 0.3s ease;
}

.creative-input:focus-within .input-icon i {
    color: #0073aa;
}

.input-content {
    flex: 1;
}

.creative-input label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #2D3748;
}

.creative-input label.required::after {
    content: " *";
    color: #E53E3E;
}

.creative-input input,
.creative-input textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.creative-input input:focus,
.creative-input textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.input-hint {
    margin-top: 8px;
    font-size: 0.8rem;
    color: #A0AEC0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.input-hint i {
    font-size: 0.8rem;
}

/* Duration Input */
.duration-input {
    position: relative;
}

.duration-input input {
    padding-right: 80px !important;
}

.duration-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
    font-size: 0.9rem;
    background: #f8fafc;
    padding: 2px 8px;
    border-radius: 4px;
}

.duration-indicator {
    margin-top: 15px;
}

.duration-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.duration-fill {
    height: 100%;
    background: linear-gradient(90deg, #25D366, #0073aa);
    border-radius: 3px;
    width: 33%;
    transition: width 0.3s ease;
}

.duration-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #A0AEC0;
}

/* Email Verification */
.email-input-wrapper {
    position: relative;
}

.email-input-wrapper input {
    padding-right: 50px !important;
}

.verify-email-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #38A169;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.verify-email-btn:hover {
    background: #2f855a;
    transform: translateY(-50%) scale(1.1);
}

.verification-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #A0AEC0;
}

.verification-status i {
    font-size: 0.9rem;
}

/* Synopsis Section */
.synopsis-section .creative-textarea {
    background: #f8fafc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.textarea-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.textarea-header label {
    font-weight: 600;
    color: #2D3748;
    font-size: 0.95rem;
}

.word-count {
    font-size: 0.85rem;
    color: #A0AEC0;
    background: white;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.textarea-wrapper {
    position: relative;
}

.creative-textarea textarea {
    min-height: 150px;
    resize: vertical;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-right: 40px;
}

.textarea-tools {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.tool-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #e2e8f0;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0AEC0;
    transition: all 0.2s ease;
}

.tool-btn:hover {
    color: #0073aa;
    border-color: #0073aa;
}

.textarea-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    font-size: 0.85rem;
}

.format-hints {
    color: #A0AEC0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.character-count {
    color: #A0AEC0;
}

/* Country Selector */
.country-selector {
    position: relative;
}

.country-flag {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 24px;
    height: 18px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-dropdown {
    width: 100%;
    padding: 12px 12px 12px 45px !important;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #2D3748;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
}

.country-dropdown:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.country-search {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.country-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #A0AEC0;
}

.country-search input {
    width: 100%;
    padding: 8px 8px 8px 35px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.9rem;
}

.country-search input:focus {
    outline: none;
    border-color: #0073aa;
}

.country-selector:focus-within .country-search {
    display: block;
}

.selected-country {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(0, 115, 170, 0.1);
    border-radius: 6px;
    font-size: 0.9rem;
    color: #0073aa;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-country::before {
    content: "📍";
    font-size: 1rem;
}

/* Language Tags */
.language-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.language-tag {
    background: #F7FAFC;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2D3748;
    border: 1px solid #E2E8F0;
}

.language-tag i {
    font-size: 0.8rem;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.language-tag i:hover {
    opacity: 1;
}

.add-language-btn {
    background: transparent;
    border: 1px dashed #A0AEC0;
    color: #A0AEC0;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.add-language-btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

/* Year Input with Timeline */
.year-input-wrapper {
    position: relative;
}

.year-indicator {
    margin-top: 15px;
}

.year-track {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    position: relative;
    margin-bottom: 25px;
}

.year-marker {
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
    background: #0073aa;
    border-radius: 50%;
    transform: translateX(-50%);
    transition: left 0.3s ease;
}

.year-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: #2D3748;
    white-space: nowrap;
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid #E2E8F0;
}

.year-range {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #A0AEC0;
}

/* Validation Summary */
.validation-summary {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.summary-header i {
    font-size: 1.2rem;
    color: #38A169;
}

.summary-header h6 {
    margin: 0;
    flex: 1;
    font-size: 1.1rem;
    color: #2D3748;
}

.checklist-count {
    background: #F7FAFC;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #2D3748;
    font-weight: 600;
}

.checklist-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: default;
}

.checklist-item:hover {
    background: #f1f5f9;
}

.checklist-item i {
    color: #A0AEC0;
    transition: all 0.3s ease;
}

.checklist-item.completed i {
    color: #38A169;
}

.checklist-item.completed {
    background: rgba(56, 161, 105, 0.1);
}

.checklist-item span {
    font-size: 0.9rem;
    color: #2D3748;
}

.checklist-item.completed span {
    opacity: 0.7;
}

/* Preview Container */
.preview-container {
    position: relative;
    background: #1a202c;
    border-radius: 12px;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#studio-preview {
    width: 100%;
    max-height: 400px;
    display: none;
}

.url-preview-container {
    width: 100%;
    padding: 40px;
    text-align: center;
    color: #A0AEC0;
}

.preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.preview-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
}

.preview-label i {
    font-size: 1.2rem;
}

.preview-actions {
    display: flex;
    gap: 10px;
}

.preview-action-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.preview-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Film Preview Layout */
.film-preview {
    display: grid;
/*     grid-template-columns: 1fr 1fr; */
    gap: 30px;
}

.film-info {
    display: flex;
    flex-direction: column;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .film-preview {
/*         grid-template-columns: 1fr; */
        gap: 20px;
    }
    
    .creative-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .info-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .form-progress {
        width: 100%;
    }
    
    .progress-track {
        width: 100%;
    }
    
    .creative-input {
        flex-direction: column;
        gap: 10px;
    }
    
    .input-icon {
        padding-top: 0;
    }
    
    .checklist-items {
        grid-template-columns: 1fr;
    }
    
    .duration-labels {
        font-size: 0.7rem;
    }
    
    .preview-overlay {
        padding: 15px;
    }
    
    .section-header {
        flex-wrap: wrap;
    }
    
    .preview-container {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .creative-form {
        padding: 15px;
    }
    
    .creative-section {
        padding: 15px;
    }
    
    .section-header h6 {
        font-size: 1rem;
    }
    
    .validation-summary {
        padding: 15px;
    }
    
    .checklist-items {
        gap: 8px;
    }
}

/* Animation for checklist completion */
@keyframes checkmark {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.checklist-item.completed i {
    animation: checkmark 0.3s ease;
}

/* Focus animations */
@keyframes inputFocus {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 115, 170, 0.4);
    }
    100% {
        box-shadow: 0 0 0 3px rgba(0, 115, 170, 0);
    }
}

.creative-input input:focus,
.creative-input textarea:focus,
.country-dropdown:focus {
    animation: inputFocus 0.3s ease;
}

/* Validation States */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-color: #E53E3E !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

.form-group.error .error-message {
    display: block;
    color: #E53E3E;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-group.success input,
.form-group.success textarea,
.form-group.success select {
    border-color: #38A169 !important;
}

/* Loading States */
.creative-input.loading {
    position: relative;
    overflow: hidden;
}

.creative-input.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Country Search Results */
.country-search-results {
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
}

.country-option {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.country-option:hover {
    background: #F7FAFC;
}

.country-option-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    overflow: hidden;
}

.country-option-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-option-name {
    flex: 1;
    font-size: 0.9rem;
}

/* Form Validation Messages */
.validation-message {
    display: none;
    color: #E53E3E;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-group.error .validation-message {
    display: block;
}

/* Success Message */
.success-message {
    display: none;
    background: rgba(56, 161, 105, 0.1);
    border: 1px solid #38A169;
    color: #38A169;
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 0.9rem;
}

.form-group.success .success-message {
    display: block;
}


/* Step 3: Progress */
.upload-progress {
    text-align: center;
    padding: 30px;
}

.progress-circle {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.progress-ring-circle {
    stroke: var(--light-color);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.percentage {
    font-size: 2rem;
}

#progress-title {
    margin: 0 0 10px 0;
    color: var(--dark-color);
}

.progress-status {
    margin: 0 0 30px 0;
    color: var(--gray-color);
}

.upload-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.stat {
    background: var(--light-color);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-color);
}

.upload-method-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--light-color);
    border-radius: 20px;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.upload-method-indicator i {
    color: var(--secondary-color);
}

/* Step 4: Success */
.success-animation {
    text-align: center;
    padding: 30px;
}

.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto 30px;
    position: relative;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid var(--success-color);
}

.check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotate-circle 4.25s ease-in;
}

.icon-line {
    height: 5px;
    background-color: var(--success-color);
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 46px;
    left: 14px;
    width: 25px;
    transform: rotate(45deg);
    animation: icon-line-tip 0.75s;
}

.icon-line.line-long {
    top: 38px;
    right: 8px;
    width: 47px;
    transform: rotate(-45deg);
    animation: icon-line-long 0.75s;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(56, 161, 105, 0.1);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: white;
}

@keyframes rotate-circle {
    0% { transform: rotate(-45deg); }
    5% { transform: rotate(-45deg); }
    12% { transform: rotate(-405deg); }
    100% { transform: rotate(-405deg); }
}

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 14px; top: 45px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0; top: 35px; }
    100% { width: 47px; right: 8px; top: 38px; }
}

.success-animation h4 {
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    color: var(--dark-color);
}

.success-animation p {
    margin: 0 0 20px 0;
    color: var(--gray-color);
}

.submission-id {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 20px 0;
}

#submission-code {
    color: var(--secondary-color);
    font-family: monospace;
}

.submission-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--light-color);
    border-radius: 8px;
    min-width: 120px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.detail-item span {
    font-size: 0.9rem;
    color: var(--dark-color);
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.success-actions .action-btn {
    padding: 12px 20px;
}

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

.whatsapp-btn:hover {
    background: #128C7E;
}

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

.share-btn:hover {
    background: #ff5252;
}

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

.dashboard-btn:hover {
    background: #005a87;
}

/* Studio Footer */
.studio-footer {
    padding: 20px;
    background: var(--light-color);
    border-top: 1px solid #E2E8F0;
}

.step-indicator {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.step {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #CBD5E0;
    transition: all 0.3s;
}

.step.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.studio-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.control-btn {
/*     padding: 10px 20px; */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.prev-btn {
    background: transparent;
    color: var(--gray-color);
}

.prev-btn:hover {
    background: #E2E8F0;
}

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

.next-btn:hover {
    background: #005a87;
}

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

.submit-btn:hover {
    background: #2f855a;
}

/* Mobile Navigation Buttons */
.mobile-nav-buttons {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    z-index: 9997;
}

.mobile-nav-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: var(--secondary-color);
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    max-width: 150px;
    justify-content: center;
}

.mobile-nav-btn:hover {
    background: #005a87;
}

.submit-mobile {
    background: var(--success-color);
}

.submit-mobile:hover {
    background: #2f855a;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .fab-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .main-fab {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-call-interface {
        width: 90%;
        right: 5%;
        bottom: 100px;
    }
    
    .video-upload-studio {
        width: 95%;
        height: 95vh;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    
    .studio-body {
        padding: 20px;
        max-height: calc(95vh - 140px);
    }
    
    .film-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .preview-container {
        min-height: 200px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .upload-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .studio-controls {
        display: none;
    }
    
    .mobile-nav-buttons {
        display: flex;
    }
    
    .upload-actions {
        flex-direction: column;
    }
    
    .url-input-group {
        flex-direction: column;
    }
    
    .call-actions {
        flex-wrap: wrap;
    }
    
    .call-options {
        gap: 10px;
    }
    
    .option {
        width: 80px;
        padding: 8px;
    }
}

/* Error Highlight Styles */
.error-highlight {
    border-color: #f56565 !important;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1) !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Alert Styles */
.idffn-alert {
    background: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #0073aa;
}

.alert-error {
    border-left-color: #e53e3e;
    background: linear-gradient(90deg, rgba(229, 62, 62, 0.1), white);
}

.alert-success {
    border-left-color: #38a169;
    background: linear-gradient(90deg, rgba(56, 161, 105, 0.1), white);
}

.alert-info {
    border-left-color: #0073aa;
    background: linear-gradient(90deg, rgba(0, 115, 170, 0.1), white);
}

.idffn-alert i {
    font-size: 1.2rem;
}

.alert-error i {
    color: #e53e3e;
}

.alert-success i {
    color: #38a169;
}

.alert-info i {
    color: #0073aa;
}

.idffn-alert span {
    flex: 1;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.alert-close {
    background: none;
    border: none;
    color: var(--gray-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.alert-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Country Selector Fix */
select[name="country"] {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
}

/* Loading States */
.loading {
    text-align: center;
    padding: 20px;
    color: var(--gray-color);
}

.loading:after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* Success Step Improvements */
#step-success .success-animation {
    padding: 30px 20px;
}

.submission-id {
    background: var(--light-color);
    padding: 10px 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: inline-block;
    font-family: 'Courier New', monospace;
    border: 2px dashed var(--secondary-color);
}

#submission-code {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: 1px;
}

.success-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.success-actions .action-btn {
    min-width: 180px;
    justify-content: center;
}

/* Step Indicator Improvements */
.step-indicator {
    margin-bottom: 15px;
}

.step {
    position: relative;
    cursor: pointer;
}

.step:after {
    content: attr(data-step);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
}

.step.active:after {
    color: white;
}

/* Form Validation Messages */
.form-group {
    position: relative;
}

.form-group .error-message {
    display: none;
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #e53e3e;
}


/* Country Select Styling */
#country-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px !important;
    cursor: pointer;
    transition: all 0.3s;
}

#country-select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

#country-select option {
    padding: 10px;
}

#country-select.error-highlight {
    border-color: #f56565 !important;
    box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1) !important;
}

/* Production year field styling */
#production_year {
    width: 100%;
}

/* Form validation improvements */
.form-group {
    position: relative;
}

.form-group .required-asterisk {
    color: #e53e3e;
    margin-left: 3px;
}

.form-group .validation-message {
    display: none;
    color: #e53e3e;
    font-size: 0.85rem;
    margin-top: 5px;
}

.form-group.error .validation-message {
    display: block;
}

/* Make all form fields consistent */
#studio-form input,
#studio-form select,
#studio-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    box-sizing: border-box;
}

#studio-form input:focus,
#studio-form select:focus,
#studio-form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Duration field specific */
input[name="duration"] {
    min-width: 100px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #country-select {
        font-size: 0.95rem;
    }
}



/* Welcome Notification - Fixed Positioning */
.auto-welcome-notification {
    position: fixed !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    animation: slideInUp 0.5s ease !important;
    z-index: 9998;
    margin: 0 !important;
}

@keyframes slideInUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* For mobile devices, adjust position */
@media (max-width: 768px) {
    .auto-welcome-notification {
        width: 95%;
        bottom: 45px !important;
    }
}

/* Floating Action Buttons - Adjust for welcome notification */
.floating-action-buttons {
    position: fixed;
    bottom: 100px !important; /* Increased from 30px to make space for notification */
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Mobile Navigation Buttons - Adjust for welcome notification */
.mobile-nav-buttons {
    position: fixed;
    bottom: 100px !important; /* Increased from 20px */
    left: 0;
    right: 0;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    z-index: 10001;
}

/* Adjust for mobile when notification is visible */
@media (max-width: 768px) {
    .floating-action-buttons {
        bottom: 120px !important;
        right: 20px;
    }
    
    .mobile-nav-buttons {
        bottom: 0px !important;
    }
    
    /* When welcome notification is visible */
    body:has(.auto-welcome-notification:visible) .floating-action-buttons {
        bottom: 160px !important;
    }
    
    body:has(.auto-welcome-notification:visible) .mobile-nav-buttons {
        bottom: 160px !important;
    }
}

/* WhatsApp Call Interface - Adjust position */
.whatsapp-call-interface {
    position: fixed;
    bottom: 140px !important; /* Adjusted from 120px */
    right: 30px;
    width: 350px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10000; /* Increased from 9998 */
    overflow: hidden;
    display: none;
    animation: slideInRight 0.5s ease;
}

/* Adjust for mobile */
@media (max-width: 768px) {
    .whatsapp-call-interface {
        bottom: 140px !important;
        right: 5%;
        width: 90%;
    }
    
    /* When welcome notification is hidden */
    body:not(:has(.auto-welcome-notification:visible)) .whatsapp-call-interface {
        bottom: 100px !important;
    }
}

/* Content inside notification */
.notification-content {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--secondary-color), #005a87);
    color: white;
}

.notification-icon {
    font-size: 2rem;
    margin-right: 12px;
    color: var(--primary-color);
}

.notification-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.notification-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-left: auto;
    padding: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.3s;
}

.notification-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-actions {
    display: flex;
    padding: 15px;
    background: var(--light-color);
    gap: 10px;
}

.notification-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

/* Ensure FAB buttons are visible above notification */
.fab-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    z-index: 10001 !important; /* Ensure FABs are above everything */
}

.main-fab {
    z-index: 10002 !important; /* Main FAB should be on top */
}

/* Video Upload Studio - Ensure proper z-index */
.video-upload-studio {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    z-index: 10001; /* Increased from 10000 */
    overflow: hidden;
    display: none;
    animation: modalIn 0.5s ease;
}

/* Overlay should cover everything except FABs */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000; /* Should be above notification but below modals */
    display: none;
}

/* .overlay.show {
    display: block;
}
 */
/* Animation for FAB buttons */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adjust spacing when modals are open */
body.modal-open .floating-action-buttons {
    display: none; /* Hide FABs when modal is open */
}

body.modal-open .auto-welcome-notification {
    display: none !important; /* Hide notification when modal is open */
}

/* Ensure notification stays on top of other elements */
.auto-welcome-notification {
    z-index: 9998;
}

/* When notification is hidden, restore FAB positions */
body:not(:has(.auto-welcome-notification:visible)) .floating-action-buttons {
    bottom: 30px !important;
}

body:not(:has(.auto-welcome-notification:visible)) .mobile-nav-buttons {
    bottom: 20px !important;
}

body:not(:has(.auto-welcome-notification:visible)) .whatsapp-call-interface {
    bottom: 120px !important;
}

/* Animation for hiding notification */
.auto-welcome-notification.hiding {
    animation: slideOutDown 0.5s ease forwards !important;
}

@keyframes slideOutDown {
    from {
        transform: translate(-50%, 0);
        opacity: 1;
    }
    to {
        transform: translate(-50%, 100%);
        opacity: 0;
    }
}

/* Additional mobile adjustments */
@media (max-width: 480px) {
    .auto-welcome-notification {
        width: 95%;
        bottom: 36px !important;
    }
    
    .notification-content {
        padding: 12px 15px;
    }
    
    .notification-icon {
        font-size: 1.5rem;
        margin-right: 10px;
    }
    
    .notification-text h4 {
        font-size: 1rem;
    }
    
    .notification-text p {
        font-size: 0.8rem;
    }
    
    .notification-btn {
        padding: 10px;
        font-size: 0.85rem;
    }
    
    .notification-actions {
        padding: 12px;
    }
}

/* Ensure notification doesn't interfere with mobile keyboard */
@media (max-height: 600px) {
    .auto-welcome-notification {
        bottom: 5px !important;
    }
    
    .floating-action-buttons {
        bottom: 80px !important;
    }
}

/* Print styles - hide notification */
@media print {
    .auto-welcome-notification,
    .floating-action-buttons,
    .mobile-nav-buttons,
    .whatsapp-call-interface,
    .video-upload-studio {
        display: none !important;
    }
}


/* Form Select Dropdown Styling */
.select-wrapper {
    position: relative;
    display: block;
}

.select-wrapper:after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #2D3748;
    pointer-events: none;
    z-index: 1;
}

.form-group select {
    width: 100%;
    padding: 12px 40px 12px 12px !important;
    border: 2px solid #E2E8F0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    background-image: none !important; /* Remove default arrow */
    cursor: pointer;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: var(--dark-color);
    position: relative;
    z-index: 2;
}

/* Remove default arrow in IE */
.form-group select::-ms-expand {
    display: none;
}

/* Focus state */
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

/* Hover state */
.form-group select:hover {
    border-color: #CBD5E0;
}

/* Error state */
.form-group.error .select-wrapper:after {
    border-top-color: var(--danger-color);
}

.form-group.error select {
    border-color: var(--danger-color) !important;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1) !important;
}

/* Success state */
.form-group.success .select-wrapper:after {
    border-top-color: var(--success-color);
}

.form-group.success select {
    border-color: var(--success-color) !important;
}

/* Validation states */
.form-group.success {
    color: var(--success-color);
}

.form-group.error {
    color: var(--danger-color);
}

.form-group.success label {
    color: var(--success-color);
}

.form-group.error label {
    color: var(--danger-color);
}

/* Required field indicator */
/* label.required:after {
    content: " *";
    color: var(--danger-color);
} */

/* Quick fix to hide nice-select and show original dropdown */
.nice-select {
    display: none !important;
}

.select-wrapper select {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure proper dropdown arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: "▼";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #2D3748;
    pointer-events: none;
    z-index: 2;
}

.select-wrapper select {
    width: 100%;
    padding: 12px 40px 12px 12px !important;
    border: 2px solid #E2E8F0 !important;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

/* Modal Styles with Scroll Control */
.video-upload-studio {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    max-height: 90vh; /* Limit modal height */
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    overflow: hidden; /* Hide overflow on modal itself */
    display: none;
    animation: modalIn 0.5s ease;
}

/* Modal body should be scrollable */
.studio-body {
    padding: 30px;
    overflow-y: auto; /* Make only this part scrollable */
    max-height: calc(90vh - 140px); /* Subtract header/footer height */
    height: auto;
    overscroll-behavior: contain; /* Prevent scroll chaining */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* For the documentary details section specifically */
#step-details .film-preview {
    display: grid;
/*     grid-template-columns: 1fr 1fr; */
    gap: 30px;
    max-height: 100%;
}

#step-details .film-info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

#step-details .creative-form {
    flex: 1;
    overflow-y: auto; /* Make form scrollable within its container */
    max-height: calc(100vh - 200px);
    padding-right: 10px; /* Space for scrollbar */
}

/* Custom scrollbar styling */
#step-details .creative-form::-webkit-scrollbar {
    width: 6px;
}

#step-details .creative-form::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

#step-details .creative-form::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 10px;
}

#step-details .creative-form::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Modal footer - always visible at bottom */
.studio-footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 20px;
    border-top: 1px solid #E2E8F0;
    z-index: 10;
}

/* Overlay - prevents background scrolling */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    overflow: hidden;
}

/* Body lock when modal is open */
body.modal-open {
    overflow: hidden !important;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .video-upload-studio {
        width: 95%;
        height: 95vh;
        max-height: 95vh;
    }
    
    .studio-body {
        max-height: calc(95vh - 140px);
    }
    
    #step-details .film-preview {
/*         grid-template-columns: 1fr; */
        gap: 20px;
        max-height: none;
    }
    
    #step-details .creative-form {
        max-height: none;
        overflow-y: visible;
    }
}

/* Prevent touch scroll propagation on mobile */
.studio-body {
    touch-action: pan-y;
}