/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 #gift_card_content {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

.gift_card_preview {
    position: relative;
    box-shadow: 0px 0px 5px -2px rgba(0, 0, 0, 0.80);
    background-image: url('http://localhost/wordpress/wp-content/uploads/2025/11/model-preview-gift-card.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 900px;
    height: 478px;
}

.postid-1030 .gift_card_preview,
.postid-1047 .gift_card_preview {
    min-height: 300px;
    margin-bottom: 43px;
}

.gift_card_preview img {
    padding: 20px;
}

.gift_card_preview p {
    font-size: 20px;
    margin-top: 20px;
    height: 30px;
}

.sidebar{
    display: none!important;
}


/*ERREUR GIFT CARD*/
.mdw-msg {
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 18px;
    text-align: center;
    border: 1px solid transparent;
}

.mdw-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.mdw-error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.mdw-info {
    background-color: #cce5ff;
    color: #004085;
    border-color: #b8daff;
}

.gift_card_preview_price,
.gift_card_gift_preview_at,
.gift_card_preview_from,
.gift_card_preview_message,
.gift_card_preview_code_gift,
.gift_card_preview_date_validity {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Lato';
    letter-spacing: 2px;
    color: #ffffff;
    font-size: 10px;
}

.gift_card_gift_preview_at{
    top: 36px;
}

.gift_card_preview_from{
    top: 96px;
}

.gift_card_preview_message{
    top: 156px;
    max-width: 120px;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.gift_card_preview_code_gift{
    top: 250px;
    transform: translateX(-40%);
}

.gift_card_preview_date_validity{
    top: 305px;
    transform: translateX(-40%);
}


.gift_card_form {
    width: 100%;
    padding: 0 20px;
}

@media screen and (max-width: 768px) {
    #gift_card_content {
        display: flex;
        flex-direction: column;
    }
    .gift_card_preview {
        width: 88%;
        padding: 20px;
        margin-bottom: 20px;
    }
}

.gift_card_form input,
.gift_card_form select {
    width: 100% !important;
}