/* DevilleSuite - Front CSS */

/* =============================================
   Info Réappro prévu
   ============================================= */
.deville-reappro-info {
    margin: 15px 0;
}

.deville-reappro-info .alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    background: #e8f5e9;
    border: 1px solid #4caf50;
    color: #2e7d32;
    padding: 12px 15px;
    border-radius: 6px;
}

.deville-reappro-info .material-icons {
    color: #4caf50;
    font-size: 22px;
}

/* =============================================
   Bouton "Prévenez-moi"
   ============================================= */
.deville-notif-stock {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Bouton standard "Prévenez-moi" */
.deville-notif-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #49a2ce;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.deville-notif-btn:hover {
    background: #3a8bb5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73,162,206,0.4);
}

.deville-notif-btn:disabled {
    background: #999;
    cursor: not-allowed;
    transform: none;
}

.deville-notif-btn .material-icons {
    font-size: 20px;
}

/* Bouton "Vas-y commande !" (précommande) */
.deville-notif-btn.preorder-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    animation: pulse-preorder 2s infinite;
}

.deville-notif-btn.preorder-btn:hover {
    background: linear-gradient(135deg, #e55a2b 0%, #d9801a 100%);
    box-shadow: 0 4px 15px rgba(247,147,30,0.5);
}

@keyframes pulse-preorder {
    0% { box-shadow: 0 0 0 0 rgba(247,147,30,0.4); }
    70% { box-shadow: 0 0 0 10px rgba(247,147,30,0); }
    100% { box-shadow: 0 0 0 0 rgba(247,147,30,0); }
}

.deville-notif-message {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 14px;
}

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

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

.deville-notif-already {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    background: #e8f4f8;
    border: 1px solid #49a2ce;
    color: #222222;
}

.deville-notif-already .material-icons {
    color: #49a2ce;
}

.deville-notif-login {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.deville-notif-login a {
    color: #49a2ce;
    text-decoration: underline;
    font-weight: 600;
}

.deville-notif-login a:hover {
    color: #3a8bb5;
}

/* Message précommande */
.deville-notif-preorder-info {
    background: #fff8e6;
    border: 1px solid #f7931e;
    color: #444444;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 13px;
}

.deville-notif-preorder-info .material-icons {
    color: #f7931e;
    vertical-align: middle;
    margin-right: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .deville-notif-btn {
        font-size: 13px;
        padding: 10px 15px;
    }
    
    .deville-notif-btn span {
        font-size: 12px;
    }
    
    .deville-reappro-info .alert {
        font-size: 13px;
    }
}
