/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    background: #eab308;
    color: #0f172a;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #ca8a04;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: white;
    color: #1e3a8a;
}

.btn-danger {
    background: #ef4444;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #dc2626;
}

.btn-success {
    background: #22c55e;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-success:hover {
    background: #16a34a;
}

/* ===== CARDS ===== */
.card-hover {
    transition: all 0.3s;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -12px rgba(0, 0, 0, 0.15);
}

/* ===== NAVIGATION ===== */
.nav-link {
    color: #1e293b;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-link:hover {
    color: #ca8a04;
    background: #f1f5f9;
}

.active-nav {
    color: #ca8a04 !important;
    font-weight: 700;
    background: #f1f5f9;
}

/* ===== FLOATING BUTTONS ===== */
.floating-btn {
    position: fixed;
    right: 20px;
    z-index: 1000;
}

.whatsapp-btn {
    background: #25D366;
    bottom: 100px;
}

.call-btn {
    background: #0077b5;
    bottom: 160px;
}

.chatbot-btn {
    background: #1e3a8a;
    bottom: 220px;
}

.floating-btn a,
.floating-btn button {
    display: flex;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.floating-btn a:hover,
.floating-btn button:hover {
    transform: scale(1.1);
}

/* ===== CHATBOT ===== */
#chatbot {
    position: fixed;
    right: 20px;
    bottom: 280px;
    width: 350px;
    max-height: 450px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

#chatbot.active {
    display: flex;
}

#chatbot .header {
    background: #1e3a8a;
    color: white;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#chatbot .header button {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

#chatbot .messages {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    max-height: 300px;
}

#chatbot .messages .msg {
    margin-bottom: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    max-width: 85%;
}

#chatbot .messages .user {
    background: #dbeafe;
    margin-left: auto;
}

#chatbot .messages .bot {
    background: #f1f5f9;
}

#chatbot .input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #e2e8f0;
}

#chatbot .input-area input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
}

#chatbot .input-area button {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    margin-left: 8px;
    cursor: pointer;
}

/* ===== REVIEW MODAL ===== */
#reviewModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

#reviewModal.active {
    display: flex;
}

#reviewModal .modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

#reviewModal .modal-content .close {
    float: right;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
}

.star-rating {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 12px 0;
}

.star-rating i {
    font-size: 32px;
    cursor: pointer;
    color: #cbd5e1;
    transition: color 0.2s;
}

.star-rating i.active {
    color: #eab308;
}

.star-rating i:hover {
    color: #eab308;
}

/* ===== ADMIN PANEL ===== */
#adminPanel {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

#adminPanel.active {
    display: flex;
}

#adminPanel .admin-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.admin-tabs button {
    padding: 8px 16px;
    border: none;
    background: #f1f5f9;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.admin-tabs button.active {
    background: #1e3a8a;
    color: white;
}

.admin-tabs button:hover {
    background: #dbeafe;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.admin-table th,
.admin-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
    background: #f1f5f9;
    font-weight: 600;
}

.admin-table .btn-sm {
    padding: 4px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 12px;
}

.admin-table .btn-approve {
    background: #22c55e;
    color: white;
}

.admin-table .btn-delete {
    background: #ef4444;
    color: white;
}

.admin-table .btn-export {
    background: #3b82f6;
    color: white;
    padding: 6px 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin-bottom: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .floating-btn a,
    .floating-btn button {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    #chatbot {
        width: 290px;
        right: 10px;
        bottom: 250px;
        max-height: 400px;
    }

    .admin-content {
        padding: 16px;
    }

    .admin-tabs button {
        font-size: 12px;
        padding: 6px 12px;
    }

    .admin-table {
        font-size: 12px;
    }

    .admin-table th,
    .admin-table td {
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    #reviewModal .modal-content {
        padding: 20px;
    }

    .star-rating i {
        font-size: 28px;
    }
}