﻿/* =========================
      GLOBAL STYLE
========================= */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #fafafa;
}

/* =========================
      HEADER + MENU
========================= */
.header {
    background: #2C2C2C;
    padding: 20px 40px;
    color: white;
}

    .header h2 {
        margin: 0;
        font-size: 26px;
        font-weight: bold;
    }

.menu {
    margin-top: 8px;
}

    .menu a {
        margin-right: 25px;
        color: #e5e5e5;
        font-weight: 600;
        text-decoration: none;
    }

        .menu a:hover {
            color: #ffffff;
            text-decoration: underline;
        }

/* =========================
      CONTENT
========================= */
.content {
    padding: 30px 40px;
}

.title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* =========================
      FORM ADD USER
========================= */
.form-box {
    background: #ffffff;
    padding: 40px 50px; /* Giảm lại đúng chuẩn UI */
    border-radius: 20px; /* Góc bo mềm giống hình */
    border: 1px solid #e5e5e5; /* THÊM VIỀN RÕ RÀNG */
    width: 450px; /* Rộng hơn để cân input */
    margin-bottom: 30px;
    /* ĐỔ BÓNG ĐẸP CHUẨN ADMIN */
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}


    .form-box h3 {
        margin: 0 0 18px 0;
        font-size: 20px;
        display: flex;
        align-items: center;
    }

        .form-box h3::before {
            font-size: 22px;
            font-weight: bold;
            color: #6A0DAD;
            margin-right: 8px;
        }

.input {
    width: 100%;
    padding: 12px;
    margin: 8px 0 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

.btn {
    background: #008CFF;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

    .btn:hover {
        background: #0072d3;
    }

/* =========================
      TABLE STYLE
========================= */
.table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
    box-shadow: 0 0 12px rgba(0,0,0,0.06);
}

    .table th {
        background: #41A446;
        color: white;
        padding: 12px;
        font-size: 15px;
        border-bottom: 1px solid #ddd;
    }

    .table td {
        padding: 12px;
        font-size: 15px;
        border-bottom: 1px solid #eee;
    }

    .table tr:nth-child(even) {
        background: #f8f8f8;
    }

    .table tr:hover {
        background: #f1f1f1;
    }

/* === EDIT / DELETE BUTTONS === */
.edit-btn, .delete-btn {
    padding: 6px 12px;
    border-radius: 5px;
    color: white !important;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.edit-btn {
    background: #1A8CFF;
}

    .edit-btn:hover {
        background: #006ad1;
    }

.delete-btn {
    background: #E63629;
}

    .delete-btn:hover {
        background: #c5221a;
    }
.status-badge, .payment-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    font-weight: bold;
    display: inline-block;
}

    /* Trạng thái đơn hàng */
    .status-badge.pending {
        background: #ff9800;
    }

    .status-badge.processing {
        background: #2196F3;
    }

    .status-badge.completed {
        background: #4CAF50;
    }

    .status-badge.cancelled {
        background: #f44336;
    }

    /* Thanh toán */
    .payment-badge.paid {
        background: #4CAF50;
    }

    .payment-badge.unpaid {
        background: #f44336;
    }

    .payment-badge.refund {
        background: #9C27B0;
    }
