/* Stiluri generale */
.birthday-rewards-wrapper {
    width: 100%;
}

.birthday-rewards-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.birthday-rewards-left {
    flex: 1;
}

.birthday-rewards-right {
    display: none;
}

/* Ascunde butonul de deschidere modal pe desktop */
.br-open-modal-btn {
    display: none;
}

/* Stiluri pentru formular desktop */
.birthday-rewards-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px 40px;
    background: #000;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
}

.br-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
}

.br-subtitle {
    text-align: center;
    font-size: 16px;
    color: #ccc;
    margin-bottom: 40px;
    line-height: 1.6;
}

.br-field {
    margin-bottom: 25px;
}

.br-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.br-field input[type="email"],
.br-field input[type="date"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    border-radius: 0;
    font-size: 16px;
    transition: all 0.3s;
}

.br-field input[type="email"]::placeholder {
    color: #888;
}

.br-field input[type="email"]:focus,
.br-field input[type="date"]:focus {
    outline: none;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.br-field input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.br-checkbox {
    margin-bottom: 30px;
}

.br-checkbox label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
    font-size: 14px;
}

.br-checkbox input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #fff;
}

.br-checkbox span {
    color: #ccc;
    line-height: 1.5;
}

.br-submit {
    width: 100%;
    padding: 18px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.br-submit:hover {
    background: #fff;
    color: #000;
}

.br-submit:disabled {
    background: transparent;
    border-color: #555;
    color: #555;
    cursor: not-allowed;
}

.br-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0;
    display: none;
    font-size: 14px;
}

.br-message.success {
    background: rgba(0, 255, 0, 0.1);
    color: #0f0;
    border: 1px solid #0f0;
    display: block;
}

.br-message.error {
    background: rgba(255, 0, 0, 0.1);
    color: #f00;
    border: 1px solid #f00;
    display: block;
}

/* Stiluri pentru modal */
.br-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.br-modal-overlay.active {
    display: block;
    opacity: 1;
}

.br-modal {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    border: 2px solid #fff;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px 20px;
}

.br-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.br-modal-close:hover {
    transform: scale(1.1);
}

.br-modal-title {
    font-size: 24px;
    color: #fff;
    margin-bottom: 25px;
    text-align: center;
}

.br-modal-content .br-field label {
    font-size: 13px;
}

/* Previne scroll pe body când modalul e deschis */
body.br-modal-open {
    overflow: hidden;
}

/* Stiluri pentru mobile */
@media (max-width: 768px) {
    .birthday-rewards-wrapper {
        background: #000;
        padding: 0;
        margin: 0 -15px;
    }
    
    .birthday-rewards-content {
        flex-direction: row;
        align-items: stretch;
        gap: 0;
        min-height: 400px;
        position: relative;
    }
    
    .birthday-rewards-left {
        flex: 1;
        padding: 30px 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .birthday-rewards-right {
        display: block;
        flex: 0 0 40%;
        position: relative;
    }
    
    .br-mobile-image {
        width: 120%;
        height: 170%;
        object-fit: cover;
        display: block;
        max-width: 120%;
        margin-left: -1rem;
    }
    
    /* Ascunde formularul desktop pe mobile */
    .desktop-form {
        display: none !important;
    }
    
    /* Arată butonul de deschidere modal pe mobile */
    .br-open-modal-btn {
        display: block;
        width: 100%;
        max-width: 200px;
        padding: 15px 25px;
        background: transparent;
        color: #fff;
        border: 2px solid #fff;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        letter-spacing: 1px;
        margin-top: 20px;
    }
    
    .br-open-modal-btn:hover,
    .br-open-modal-btn:active {
        background: #fff;
        color: #000;
    }
    
    .br-title {
        font-size: 24px;
        text-align: left;
        margin-bottom: 10px;
    }
    
    .br-subtitle {
        text-align: left;
        font-size: 14px;
        margin-bottom: 0;
    }
}

@media (max-width: 600px) {
    .birthday-rewards-content {

                min-height: 500px;
        width: 97vw;
    }
    
    .birthday-rewards-left {
        padding: 25px 15px;
    }
    
    .birthday-rewards-right {
        flex: 0 0 35%;
    }
    
    .br-title {
        font-size: 20px;
    }
    
    .br-subtitle {
        font-size: 13px;
    }
    
    .br-open-modal-btn {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .br-modal {
        width: 95%;
        padding: 25px 15px;
    }
}