/* Sticky Sidebar Component Styles */

.sticky-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 360px;
    height: 100vh;
    background-color: #000;
    color: #fff;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: none; /* Eliminado para evitar línea de separación */
}

.sticky-sidebar-content {
    padding: 10px 25px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Header Section */
.sticky-sidebar-header {
    text-align: center;
    margin-bottom: 25px;
}

.discount-amount {
    font-size: 5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.discount-text {
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1;
}

.sidebar-subtitle {
    font-size: 1.4rem;
    color: #fff;
    margin: 15px 0 10px;
    line-height: 1.3;
}

.sidebar-description {
    font-size: 0.9rem;
    color: #ddd;
    margin: 0;
    line-height: 1.4;
}

/* Promo Code Section */
.sidebar-promo-code {
    background-color: #000;
    color: #c62828;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 12px;
    margin-bottom: 20px;
    border-top: 2px solid #c62828;
    border-bottom: 2px solid #c62828;
}

    .sidebar-promo-code strong {
        font-weight: 700;
        font-size: 1.2rem;
    }

/* Form Styles */
.sticky-sidebar-form {
    margin-bottom: 25px;
}

    .sticky-sidebar-form .form-group {
        margin-bottom: 15px;
    }

    .sticky-sidebar-form .form-control {
        width: 100%;
        padding: 12px 15px;
        font-size: 1rem;
        border: none;
        border-radius: 4px;
        background-color: #fff;
        color: #333;
    }

        .sticky-sidebar-form .form-control::placeholder {
            color: #666;
        }

        .sticky-sidebar-form .form-control:focus {
            outline: 2px solid #c62828;
            outline-offset: 2px;
        }

/* Consent Checkbox */
.sidebar-consent {
    display: flex;
    align-items: flex-start;
    font-size: 0.75rem;
    color: #ddd;
    line-height: 1.3;
    cursor: pointer;
}

    .sidebar-consent input[type="checkbox"] {
        margin-right: 8px;
        margin-top: 2px;
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        cursor: pointer;
    }

    .sidebar-consent span {
        flex: 1;
    }

/* Submit Button */
.btn-sidebar-submit {
    width: 100%;
    background-color: #c62828;
    color: #fff;
    border: none;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-sidebar-submit:hover {
        background-color: #a02020;
    }

    .btn-sidebar-submit:active {
        background-color: #8a1c1c;
    }

    .btn-sidebar-submit:disabled {
        background-color: #999;
        cursor: not-allowed;
    }

/* Form Message */
.form-message {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-align: center;
}

    .form-message.success {
        background-color: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }

    .form-message.error {
        background-color: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }

/* Contact Section */
.sidebar-contact {
    text-align: center;
    margin-bottom: 20px;
}

.sidebar-questions {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.sidebar-phone {
    margin: 0;
}

    .sidebar-phone a {
        color: #fff;
        text-decoration: none;
        font-size: 1.3rem;
        font-weight: 700;
    }

        .sidebar-phone a:hover {
            text-decoration: underline;
        }

/* Terms Section */
.sidebar-terms {
    margin-top: auto;
    text-align: center;
    font-size: 0.7rem;
    color: #aaa;
    line-height: 1.4;
}

    .sidebar-terms a {
        color: #fff;
        text-decoration: underline;
    }

        .sidebar-terms a:hover {
            color: #c62828;
        }

/* Responsive Design */

/* Mobile y Tablet - Sidebar se convierte en bloque normal */
@media (max-width: 992px) {
    .sticky-sidebar {
        position: relative;
        width: 100%;
        height: auto;
        box-shadow: none;
    }

    .sticky-sidebar-content {
        max-width: 500px;
        margin: 0 auto;
        padding: 40px 20px;
    }

    .discount-amount {
        font-size: 3.5rem;
    }

    .discount-text {
        font-size: 2.5rem;
    }

    .sidebar-subtitle {
        font-size: 1.2rem;
    }
}
