/* Карточки товаров */
.product-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.product-image {
    height: 200px;
    background: linear-gradient(135deg, #f3f6fc 0%, #e9f1fa 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #0078d4;
}

.product-info {
    padding: 1.5rem;
}

/* Формы в стиле Win11 */
.win-input {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.2s;
    width: 100%;
    background: white;
}

.win-input:hover {
    border-color: #0078d4;
}

.win-input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0,120,212,0.1);
}

.win-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #202020;
}

/* Таблицы */
.win-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.win-table th {
    background: #f3f6fc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #202020;
}

.win-table td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.win-table tr:last-child td {
    border-bottom: none;
}

.win-table tr:hover {
    background: #f8f8f8;
}

/* Статусы заказов */
.status-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-pending {
    background: #fff4ce;
    color: #8e6b1f;
}

.status-processing {
    background: #deecf9;
    color: #005a9e;
}

.status-completed {
    background: #dff6dd;
    color: #107c10;
}

.status-rejected {
    background: #fde7e9;
    color: #a4262c;
}

/* Модальные окна */
.win-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
    max-width: 500px;
    margin: 50px auto;
    animation: modalSlideIn 0.3s;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 50px auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
}

.close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-actions {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}