﻿/* profile.css */

/* Загальний стиль картки профілю */
.profile-container {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 20px auto;
}

    .profile-container h2 {
        color: #004080;
        font-weight: bold;
        margin-bottom: 20px;
    }

    .profile-container p {
        font-size: 16px;
        color: #333;
        margin-bottom: 10px;
    }

    .profile-container .btn {
        border-radius: 8px;
        font-weight: 500;
        margin: 5px 5px 5px 0;
        transition: transform 0.2s, box-shadow 0.2s;
    }

        .profile-container .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }

/* Медіа-запит для мобільних */
@media (max-width: 576px) {
    .profile-container .btn {
        min-width: 100%;
    }
}


.btn-gradient-order {
    background: linear-gradient(135deg, #1e90ff, #2ed573);
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: transform 0.1s ease, box-shadow 0.2s ease;
}

    .btn-gradient-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 10px rgba(0,0,0,0.25);
    }

    .btn-gradient-order:active {
        transform: translateY(0);
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }

.btn-order {
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e90ff, #3742fa);
    box-shadow: 0 8px 20px rgba(30, 144, 255, 0.35);
    transition: all 0.25s ease;
}

    .btn-order i {
        font-size: 1.2rem;
    }

    .btn-order:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(30, 144, 255, 0.45);
        background: linear-gradient(135deg, #3742fa, #1e90ff);
    }

    .btn-order:active {
        transform: translateY(1px);
        box-shadow: 0 6px 14px rgba(30, 144, 255, 0.35);
    }


.btn-manager-orders {
    padding: 0.95rem 1.6rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff4757, #e84118);
    box-shadow: 0 8px 22px rgba(255, 71, 87, 0.45);
    transition: all 0.25s ease;
}

    /* Іконка */
    .btn-manager-orders i {
        font-size: 1.2rem;
    }

    /* Hover */
    .btn-manager-orders:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, #e84118, #ff4757);
        box-shadow: 0 14px 30px rgba(255, 71, 87, 0.55);
    }

    /* Active */
    .btn-manager-orders:active {
        transform: translateY(1px);
        box-shadow: 0 6px 14px rgba(255, 71, 87, 0.4);
    }

/* 🔢 Бейдж з кількістю */
.order-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #fff;
    color: #e84118;
    font-weight: 700;
    font-size: 0.8rem;
    min-width: 26px;
    height: 26px;
    padding: 0 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* 🔥 Пульс якщо є замовлення */
@keyframes pulse-red {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0.6);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(255, 71, 87, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 71, 87, 0);
    }
}

.btn-manager-orders.has-orders {
    animation: pulse-red 2s infinite;
}