/* ===================================
   Neues Design CSS für A2 Forum Konfigurator
   =================================== */

/* Global Font Override - Verwende Theme-Schriftarten (DIN Pro) */
.a2-room-configurator-new,
.a2-room-configurator-new *,
.a2-modal-content,
.a2-modal-content *,
.a2-inline-booking-form,
.a2-inline-booking-form * {
    font-family: 'din_proregular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Überschriften und Bold-Elemente mit din_probold */
.a2-room-configurator-new h1,
.a2-room-configurator-new h2,
.a2-room-configurator-new h3,
.a2-room-configurator-new h4,
.a2-room-configurator-new h5,
.a2-room-configurator-new h6,
.a2-room-configurator-new strong,
.a2-room-configurator-new b,
.a2-modal-title,
.a2-room-name-new,
.a2-price-value {
    font-family: 'din_probold', 'din_proregular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700;
}

/* Date Warning Notification */
.a2-date-warning {
    position: fixed !important;
    top: 100px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f) !important;
    color: white !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(255, 107, 107, 0.4) !important;
    z-index: 2147483647 !important;
    max-width: 500px !important;
    width: 90% !important;
    animation: slideInDown 0.3s ease-out, gentleShake 0.6s ease-in-out 0.3s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    isolation: isolate !important; /* Erstellt neuen Stacking Context */
}

/* Mehrere Selektoren für maximale Spezifität */
div.a2-date-warning.a2-date-warning {
    z-index: 2147483647 !important;
    position: fixed !important;
    isolation: isolate !important;
}

/* WICHTIG: Parent-Element mit niedrigem Z-Index für normale Ansicht */
.a2-room-results-new {
    position: relative !important;
    z-index: 1 !important;
}

.a2-date-warning-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.a2-date-warning-content svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.a2-date-warning-content strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: 'din_probold', 'din_proregular', sans-serif;
}

.a2-date-warning-content p {
    font-size: 0.875rem;
    margin: 0;
    opacity: 0.95;
}

.a2-date-warning-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: white;
}

.a2-date-warning-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes gentleShake {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    25% {
        transform: translateX(-50%) translateY(-3px);
    }
    75% {
        transform: translateX(-50%) translateY(3px);
    }
}

/* Mobile Optimierung für Date Warning */
@media (max-width: 768px) {
    .a2-date-warning {
        top: 80px;
        padding: 0.875rem 1.25rem;
        max-width: calc(100% - 2rem);
    }
    
    .a2-date-warning-content strong {
        font-size: 0.9375rem;
    }
    
    .a2-date-warning-content p {
        font-size: 0.8125rem;
    }
}

/* Inline Booking Form Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-30px);
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 3000px;
        transform: translateY(0);
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 24px rgba(151, 176, 179, 0.4);
    }
    100% {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

.a2-inline-booking-form {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 2px solid #97b0b3;
    animation: slideDown 0.4s ease-out, highlightPulse 1.5s ease-in-out;
}

.a2-inline-booking-form .a2-modal-overlay {
    position: relative;
    background: transparent;
    backdrop-filter: none;
    z-index: 1;
    padding: 0;
    animation: none;
    overflow-y: visible;
}

.a2-inline-booking-form .a2-modal-content {
    max-width: 100%;
    box-shadow: none;
    border-radius: 0;
    max-height: none;
    overflow-y: visible;
}

.a2-inline-booking-form .a2-modal-header {
    position: relative;
}

.a2-inline-booking-form .a2-modal-close {
    position: absolute;
    top: 0;
    right: 0;
}

/* Filter Bar Styles */
.a2-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.a2-filter-bar-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex: 1;
}

.a2-filter-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.a2-filter-dropdown {
    position: relative;
    z-index: 20;
}

.a2-filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.a2-filter-btn:hover {
    background: #f1f3f5;
    border-color: #97b0b3;
}

.a2-filter-btn.a2-filter-active {
    background: linear-gradient(135deg, #97b0b3, #7a9296);
    border-color: #97b0b3;
    color: #fff;
}

.a2-filter-btn.a2-filter-active .a2-filter-icon,
.a2-filter-btn.a2-filter-active .a2-filter-arrow {
    color: #fff;
}

.a2-filter-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.a2-filter-arrow {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.a2-filter-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 1.25rem;
    min-width: 280px;
    z-index: 1000;
    animation: dropdownFadeIn 0.2s ease;
}

.a2-filter-dropdown-menu.a2-dropdown-wide {
    min-width: 320px;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.a2-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.a2-dropdown-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.a2-dropdown-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.a2-dropdown-option {
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.a2-dropdown-option:hover {
    background: #f1f3f5;
    border-color: #97b0b3;
}

.a2-dropdown-option.active {
    background: linear-gradient(135deg, #97b0b3, #7a9296);
    border-color: #97b0b3;
    color: #fff;
}

.a2-checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.a2-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.a2-checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #97b0b3;
}

.a2-checkbox-item span {
    font-size: 0.9375rem;
    color: #334155;
}

.a2-room-count {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    padding: 0.75rem 1.25rem;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Category Tabs */
.a2-category-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding: 0.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 5;
}

.a2-category-tab {
    padding: 0.875rem 1.75rem;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 9999px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.a2-category-tab:hover {
    background: #f1f3f5;
    border-color: #97b0b3;
}

.a2-category-tab.active {
    background: linear-gradient(135deg, #97b0b3, #7a9296);
    border-color: #97b0b3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(151, 176, 179, 0.3);
}

/* Neues Raumkarten Design */
.a2-room-configurator-new {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.5rem;
}

.a2-room-results-new {
    position: relative;
    z-index: 1;
}

.a2-results-header-new {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 1rem;
}

.a2-room-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

@media (min-width: 1400px) {
    .a2-room-grid-new {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1399px) {
    .a2-room-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .a2-room-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .a2-room-grid-new {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.a2-room-card-new {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: 1px solid #e8e8e8;
    position: relative;
    z-index: 1;
}

.a2-room-card-new:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.a2-room-card-image-new {
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    overflow: hidden;
}

.a2-room-card-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.a2-room-card-new:hover .a2-room-card-image-new img {
    transform: scale(1.03);
}

.a2-room-placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #cbd5e1;
}

.a2-room-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: capitalize;
}

.a2-room-card-body-new {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.a2-room-name-new {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.a2-room-info-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 8px;
}

.a2-room-info-item-new {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.a2-room-info-item-new svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #666;
}

.a2-room-equipment-icons-new {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #efefef;
    min-height: 36px;
}

.a2-equipment-icon-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    color: #555;
    padding: 0;
    transition: all 0.2s ease;
    cursor: help;
    position: relative;
}

.a2-equipment-icon-item:hover {
    background: #ebebeb;
    border-color: #d0d0d0;
}

.a2-equipment-icon-item svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* Schöner Tooltip beim Hover */
.a2-equipment-icon-item:hover::after {
    content: attr(title);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
    animation: tooltipFadeIn 0.2s ease;
}

/* Kleiner Pfeil für den Tooltip */
.a2-equipment-icon-item:hover::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    pointer-events: none;
    animation: tooltipFadeIn 0.2s ease;
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.a2-icon-bg {
    font-size: 1rem;
}

.a2-icon-label {
    font-weight: 500;
}

.a2-room-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.a2-room-price-new {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.a2-price-label {
    font-size: 0.875rem;
    color: #666;
    font-weight: 500;
}

.a2-price-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
}

.a2-room-arrow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    color: #0066cc;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    font-weight: 600;
}

.a2-room-arrow-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.a2-room-arrow-btn:hover:not(:disabled) {
    color: #004c99;
}

.a2-room-arrow-btn:hover:not(:disabled) svg {
    transform: translateX(4px);
}

.a2-room-arrow-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Booking Form Modal */
.a2-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
    overflow-y: auto;
}

/* Modal Styles - mit MAXIMUM Z-Index und Portal */
.a2-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2147483647 !important;
    padding: 1rem;
    animation: fadeIn 0.2s ease;
    overflow-y: auto !important;
    isolation: isolate !important;
}

.a2-modal-content {
    background: #fff !important;
    border-radius: 16px;
    max-width: 900px;
    width: 100% !important;
    max-height: 90vh;
    overflow-y: auto !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    animation: slideUp 0.3s ease;
    position: relative !important;
    z-index: 2147483647 !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Mobile Optimierung für Modal */
@media (max-width: 768px) {
    .a2-modal-overlay {
        padding: 0;
        align-items: flex-start;
    }
    
    .a2-modal-content {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
        margin: 0;
    }
    
    .a2-modal-body {
        padding: 1rem !important;
    }
}

/* Body Lock wenn Modal offen ist */
body.a2-modal-open {
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.a2-modal-content {
    background: #fff;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    position: relative;
    z-index: 100000;
}

/* Mobile Optimierung für Modal */
@media (max-width: 768px) {
    .a2-modal-overlay {
        padding: 0;
        align-items: flex-start;
    }
    
    .a2-modal-content {
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
        margin: 0;
    }
    
    .a2-modal-body {
        padding: 1rem !important;
    }
}

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

.a2-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.a2-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.a2-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.a2-modal-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.a2-modal-body {
    padding: 2rem;
}

.a2-booking-room-summary {
    background: linear-gradient(135deg, #f8f9fa, #e2e8f0);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.a2-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.a2-summary-room-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.a2-summary-capacity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #64748b;
    font-weight: 500;
}

.a2-summary-capacity svg {
    color: #97b0b3;
}

/* Booking Form New */
.a2-booking-form-new {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.a2-form-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.a2-form-section-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.a2-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.a2-form-label-new {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.5rem;
}

.a2-form-label-new svg {
    width: 16px;
    height: 16px;
    color: #97b0b3;
}

.a2-form-input-new {
    width: 100%;
    padding: 0.875rem 1rem;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1e293b;
    transition: all 0.2s ease;
}

.a2-form-input-new:focus {
    outline: none;
    border-color: #97b0b3;
    box-shadow: 0 0 0 4px rgba(151, 176, 179, 0.1);
}

.a2-form-input-new::placeholder {
    color: #94a3b8;
}

.a2-form-textarea-new {
    min-height: 120px;
    resize: vertical;
}

/* Checkbox Group */
.a2-form-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.a2-form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #334155;
    cursor: pointer;
    transition: color 0.2s ease;
}

.a2-form-checkbox-label:hover {
    color: #97b0b3;
}

.a2-form-checkbox-label input[type="checkbox"] {
    margin-top: 0.125rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #97b0b3;
    flex-shrink: 0;
}

.a2-form-checkbox-label span {
    line-height: 1.5;
}

/* Privacy Checkbox - besondere Formatierung */
.a2-privacy-checkbox {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.a2-privacy-checkbox a {
    color: #97b0b3;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.a2-privacy-checkbox a:hover {
    color: #7a9296;
}

.a2-form-footer-new {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 2px solid #e2e8f0;
}

.a2-form-note {
    font-size: 0.8125rem;
    color: #64748b;
}

.a2-btn-submit-new {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #97b0b3, #7a9296);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(151, 176, 179, 0.3);
}

.a2-btn-submit-new:hover:not(:disabled) {
    background: linear-gradient(135deg, #7a9296, #5a7a7e);
    box-shadow: 0 6px 16px rgba(151, 176, 179, 0.4);
    transform: translateY(-2px);
}

.a2-btn-submit-new:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.a2-success-message-modal {
    text-align: center;
    padding: 2rem;
}

.a2-success-message-modal .a2-success-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    color: #22c55e;
}

.a2-success-message-modal .a2-success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.a2-success-message-modal .a2-success-text {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .a2-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .a2-filter-bar-left {
        flex-direction: column;
    }
    
    .a2-filter-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .a2-category-tabs {
        gap: 0.375rem;
    }
    
    .a2-category-tab {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .a2-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .a2-modal-body {
        padding: 1.5rem;
    }
    
    .a2-form-row {
        grid-template-columns: 1fr;
    }
    
    .a2-form-footer-new {
        flex-direction: column;
        gap: 1rem;
    }
    
    .a2-btn-submit-new {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .a2-room-configurator-new {
        padding: 0.75rem;
    }
    
    .a2-room-card-body-new {
        padding: 1rem;
    }
    
    .a2-room-name-new {
        font-size: 1.125rem;
    }
    
    .a2-price-value {
        font-size: 1.25rem;
    }
}
