/* Premium Booking Form Styles */

/* Promo Card (Left Side) */
.promo-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.promo-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* Compact Booking Card */
.compact-booking-card {
    position: relative;
    background: white;
    border-radius: 1.25rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.compact-booking-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.compact-booking-card:hover::before {
    opacity: 1;
}

/* Form Header */
.form-header-compact {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.form-header-compact h4 {
    margin: 0 0 0.25rem 0;
}

.form-header-compact p {
    margin: 0;
}

/* Form Container */
.compact-form {
    padding: 1.25rem;
}

/* Form Field Compact */
.form-field-compact {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.form-field-compact:has(.dropdown-container) {
    z-index: 10;
}

/* Compact Label */
.form-label-compact {
    display: flex;
    align-items: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

/* Compact Select Button */
.compact-select-button {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.compact-select-button:hover {
    border-color: #10b981;
    box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.15);
}

.compact-select-button:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Compact Input */
.compact-input {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: #1e293b;
    transition: all 0.25s ease;
    pointer-events: auto !important;
    position: relative;
    z-index: 2;
}

.compact-input::placeholder {
    color: #94a3b8;
}

.compact-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.compact-input:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Modern Counter */
.guest-counter.modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.counter-controls.modern {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modern-counter-btn {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.modern-counter-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.modern-counter-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.modern-counter-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

.modern-counter-value {
    min-width: 2.5rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

/* Compact Submit Button */
.compact-submit-btn {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
    transition: all 0.3s ease;
}

.compact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(16, 185, 129, 0.5);
}

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

/* Compact Security Note */
.compact-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 0.5rem;
    color: #475569;
}

/* Privacy Notice */
.privacy-notice {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.4;
}

.privacy-notice a {
    color: #10b981;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.privacy-notice a:hover {
    color: #059669;
}

/* Messenger Buttons Compact */
.messenger-buttons-compact {
    padding: 1.25rem;
    border-top: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.messenger-label {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.messenger-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.625rem;
}

.messenger-btn-styled {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.2);
}

.messenger-btn-styled:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
}

.messenger-btn-styled i,
.messenger-btn-styled svg {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.messenger-btn-styled.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.messenger-btn-styled.whatsapp:hover {
    background: linear-gradient(135deg, #20bd5a 0%, #0f7a6e 100%);
}

.messenger-btn-styled.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
}

.messenger-btn-styled.telegram:hover {
    background: linear-gradient(135deg, #0077b8 0%, #005580 100%);
}

.messenger-btn-styled.max {
    background: linear-gradient(135deg, #FF3B30 0%, #CC0000 100%);
}

.messenger-btn-styled.max:hover {
    background: linear-gradient(135deg, #e63028 0%, #b30000 100%);
}

.messenger-btn-styled.phone {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.messenger-btn-styled.phone:hover {
    background: linear-gradient(135deg, #0ea574 0%, #047857 100%);
}

/* Dual Calendar */
.dropdown-menu-wide {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
    z-index: 50;
    min-width: 600px;
    max-width: 90vw;
    pointer-events: auto;
}

.dropdown-menu-wide.hidden {
    display: none !important;
    pointer-events: none !important;
}

.calendar-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(5, 150, 105, 0.05) 100%);
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.8125rem;
    color: #475569;
    font-weight: 500;
}

.dual-calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem;
}

.calendar-month {
    min-width: 0;
}

.calendar-month .calendar-nav-btn {
    display: none;
}

.calendar-month .calendar-header {
    justify-content: center;
    padding: 0.5rem;
}

.calendar-month .calendar-title {
    font-size: 0.9375rem;
}

@media (max-width: 768px) {
    .dropdown-menu-wide {
        min-width: auto;
        width: calc(100vw - 2rem);
    }

    .dual-calendar-container {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.divider-with-text {
    position: relative;
    text-align: center;
    margin-bottom: 1.5rem;
}

.divider-with-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e2e8f0 20%, #e2e8f0 80%, transparent 100%);
}

.divider-with-text span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

/* Phone Button */
.phone-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.phone-button:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px -4px rgba(16, 185, 129, 0.2);
}

/* Messenger Buttons */
.messenger-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.messenger-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.15);
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.25);
}

.messenger-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.messenger-btn.telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .promo-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    .compact-form {
        padding: 1rem;
    }

    .form-field-compact {
        margin-bottom: 0.875rem;
    }

    .compact-select-button,
    .compact-input {
        padding: 0.625rem;
        font-size: 0.8125rem;
    }

    .modern-counter-btn {
        width: 2rem;
        height: 2rem;
    }

    .modern-counter-value {
        font-size: 1.125rem;
    }

    .compact-submit-btn {
        padding: 0.75rem;
        font-size: 0.875rem;
    }

    .contact-icon {
        width: 2.75rem;
        height: 2.75rem;
        font-size: 1.125rem;
    }

    .promo-card {
        padding: 1.25rem;
    }

    .promo-card h3 {
        font-size: 1.5rem;
    }

    .form-header-compact {
        padding: 1rem 1.25rem;
    }

    .messenger-buttons-compact {
        padding: 1rem;
    }

    .messenger-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .messenger-btn-styled {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
        gap: 0.375rem;
    }

    .messenger-btn-styled i,
    .messenger-btn-styled svg {
        font-size: 1rem;
    }

    .messenger-label {
        font-size: 0.6875rem;
        margin-bottom: 0.625rem;
    }

    .privacy-notice {
        font-size: 0.625rem;
    }
}

/* Focus visible for accessibility */
.compact-select-button:focus-visible,
.compact-input:focus-visible,
.compact-submit-btn:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}
