.form-status-msg {
    display: inline-block !important;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px;
    z-index: 9998;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.cookie-banner.show {
    display: flex;
    margin-left: 100px;
    margin-right: 100px; 
}

.cookie-banner-content {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-title {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 16px;
}

.cookie-banner-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.cookie-banner-links {
    font-size: 13px;
}

.cookie-banner-links a {
    color: #4a9eff;
    text-decoration: underline;
    margin-right: 15px;
}

.cookie-banner-links a:hover {
    color: #ffffff;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background: #4a9eff;
    color: #ffffff;
}

.cookie-btn-accept:hover {
    background: #3a8eef;
}

.cookie-btn-reject {
    background: #666666;
    color: #ffffff;
}

.cookie-btn-reject:hover {
    background: #555555;
}

.cookie-btn-preferences {
    background: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.cookie-btn-preferences:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: #ffffff;
    color: #333333;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
    padding: 25px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-modal-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #333333;
}

.cookie-modal-body {
    padding: 25px;
}

.cookie-modal-description {
    margin-bottom: 25px;
    line-height: 1.6;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
}

.cookie-category:last-child {
    margin-bottom: 0;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category-title {
    font-weight: 600;
    font-size: 16px;
}

.cookie-category-description {
    font-size: 14px;
    color: #666666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 26px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.cookie-switch input:checked + .cookie-slider {
    background-color: #4a9eff;
}

.cookie-switch input:disabled + .cookie-slider {
    background-color: #cccccc;
    cursor: not-allowed;
}

.cookie-switch input:checked + .cookie-slider:before {
    transform: translateX(24px);
}

.cookie-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-modal-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cookie-modal-btn-accept {
    background: #4a9eff;
    color: #ffffff;
}

.cookie-modal-btn-accept:hover {
    background: #3a8eef;
}

.cookie-modal-btn-reject {
    background: #666666;
    color: #ffffff;
}

.cookie-modal-btn-reject:hover {
    background: #555555;
}

.cookie-modal-btn-save {
    background: #1971d4;
    color: #ffffff;
}

.cookie-modal-btn-save:hover {
    background: #4695f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner-content {
        min-width: 100%;
    }

    .cookie-banner-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-modal {
        padding: 10px;
    }

    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }

    .cookie-modal-footer {
        flex-direction: column;
    }

    .cookie-modal-btn {
        width: 100%;
    }
}
