.ibw-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.ibw-popup-overlay.active {
    display: flex;
}

.ibw-popup {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.ibw-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    background: none;
    border: none;
    line-height: 1;
}

.ibw-close:hover {
    color: #000;
}

.ibw-popup h2 {
    margin: 0 0 25px 0;
    font-size: 24px;
    color: #333;
}

.ibw-form-group {
    margin-bottom: 20px;
}

.ibw-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.ibw-form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
}

.ibw-form-group input:focus {
    outline: none;
    border-color: #003777;
}

.ibw-submit-btn {
    width: 100%;
    padding: 14px;
    background: #003777;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.ibw-submit-btn:hover {
    background: #0d223a;
}

.ibw-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.ibw-message {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 5px;
    display: none;
}

.ibw-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.ibw-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Styles pour le bouton */
.ibw-trigger-button {
    display: inline-block;
    padding: 15px 30px;
    background: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    font-size: 16px;
}

.ibw-trigger-button:hover {
    background: #45a049;
}

/* Styles pour les images/GIF */
.ibw-trigger-image {
    display: inline-block;
    max-width: 100%;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ibw-trigger-image.ibw-hover-scale:hover {
    transform: scale(1.05);
}

.ibw-trigger-image.ibw-hover-opacity:hover {
    opacity: 0.8;
}

.ibw-trigger-image.ibw-hover-brightness:hover {
    filter: brightness(1.2);
}

/* Styles pour les liens */
.ibw-trigger-link {
    cursor: pointer;
    transition: color 0.3s ease;
}

.ibw-trigger-link.ibw-link-underline {
    text-decoration: underline;
}

.ibw-trigger-link.ibw-link-no-underline {
    text-decoration: none;
}

.ibw-trigger-link.ibw-link-no-underline:hover {
    text-decoration: underline;
}

/* Wrapper général */
.ibw-widget-wrapper {
    display: block;
}