:root {
    --primary-color: #0F969C;
    --secondary-color: #A2F9B8;
    --background-color: #1A1A2E;
    --card-bg: #2B2E4A;
    --text-color: #E0E0E0;
    --accent-color: #FFD400;
    --danger-color: #e74c3c;
    --info-color: #3498db;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* --- সব ধরনের বাটনের হোভার --- */
button:hover, .menu-button:hover, .back-btn:hover {
    cursor: pointer;
}

.login-container, .dashboard-container {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 100%;
    max-width: 500px;
    margin-top: 5vh;
}

h2 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: 25px;
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    box-sizing: border-box;
}

input[type="date"],
input[type="datetime-local"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background: var(--background-color);
    color: var(--text-color);
    font-size: 16px;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    color-scheme: dark;
}


textarea {
    resize: vertical;
    font-family: 'Poppins', sans-serif;
}

/* --- সাধারণ বাটন স্টাইল --- */
button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
button:hover {
    background-color: #0a6c70;
}

button.save-btn {
    background-color: #27ae60;
}
button.save-btn:hover {
    background-color: #229954;
}


#logoutButton {
    background-color: #c0392b;
    margin-top: 10px;
    margin-bottom: 15px;
}
#logoutButton:hover {
    background-color: #a03024;
}

.error {
    color: var(--danger-color);
    text-align: center;
    margin-top: 15px;
}

.success {
    color: #2ecc71;
    text-align: center;
    margin: 15px 0;
    font-size: 1.1em;
    font-weight: bold;
}

/* --- ড্যাশবোর্ড সেকশন --- */
.dashboard-container {
    max-width: 800px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.stat-card {
    background: var(--background-color);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--primary-color);
}

.stat-icon {
    font-size: 2.5em;
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-card.sales .stat-icon {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}
.stat-card.orders .stat-icon {
    background: rgba(255, 212, 0, 0.1);
    color: var(--accent-color);
}

.stat-info p {
    font-size: 0.9em;
    color: var(--text-color);
    margin: 0;
}
.stat-info h3 {
    margin: 0;
    font-size: 1.8em;
}
.stat-card.sales .stat-info h3 {
    color: #2ecc71;
}
.stat-card.orders .stat-info h3 {
    color: var(--accent-color);
}

.admin-stats-grid.lifetime-stats {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 10px;
    margin-bottom: 0;
}

.lifetime-stats .stat-card {
    border-color: var(--card-bg);
    padding: 15px;
}

.lifetime-stats .stat-card .stat-icon {
    font-size: 2em;
    padding: 12px;
}

.lifetime-stats .stat-card:nth-child(1) .stat-icon {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}
.lifetime-stats .stat-card:nth-child(2) .stat-icon {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
}
.lifetime-stats .stat-card:nth-child(3) .stat-icon {
    background: rgba(26, 188, 156, 0.1);
    color: #1abc9c;
}

.lifetime-stats .stat-info h3 {
    font-size: 1.5em;
}
.lifetime-stats .stat-card:nth-child(1) .stat-info h3 { color: #3498db; }
.lifetime-stats .stat-card:nth-child(2) .stat-info h3 { color: #9b59b6; }
.lifetime-stats .stat-card:nth-child(3) .stat-info h3 { color: #1abc9c; }

.admin-stats-grid.orders-stats {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: -5px;
}
.orders-stats .stat-card {
    border-color: var(--card-bg);
    padding: 15px;
}
.orders-stats .stat-card .stat-icon {
    font-size: 2em;
    padding: 12px;
    background: rgba(255, 212, 0, 0.1);
    color: var(--accent-color);
}
.orders-stats .stat-info h3 {
    font-size: 1.5em;
    color: var(--accent-color);
}


.hidden {
    display: none;
}

.editor-section {
    background: var(--background-color);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}
.editor-section h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: var(--accent-color);
}
.editor-section h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    border-bottom: 1px solid var(--card-bg);
    padding-bottom: 10px;
}
.editor-section h4 i {
    margin-right: 8px;
}

.sub-editor-section {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}
.sub-editor-section h5 {
    color: var(--accent-color);
    margin: 0 0 10px 0;
    font-size: 1.1em;
}
.sub-editor-section .add-link-btn {
    background-color: #27ae60;
    margin-top: 10px;
}
.sub-editor-section .add-link-btn:hover {
    background-color: #229954;
}


.editor-section button {
    background: var(--accent-color);
    color: var(--background-color);
}
.editor-section button:hover {
    background: #e0bd00;
}

hr {
    border: 1px solid var(--card-bg);
    margin: 30px 0;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--text-color);
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
}
.checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0 10px 0 0;
}
.checkbox-container label {
    margin: 0;
    font-weight: normal;
}
small {
    display: block;
    margin-top: -10px;
    margin-bottom: 15px;
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.7;
}


.button-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.button-group .clear-btn {
    background: #7f8c8d;
    color: white;
}
.button-group .clear-btn:hover {
    background: #6c7a7b;
}

#package-list-container,
#review-list-container,
.support-link-list,
#app-list-container,
#faq-list-container,
#video-list-container,
#slide-list-container { 
    margin-top: 20px;
}

.package-item,
.review-item, 
.link-item,
.app-item,
.faq-item,
.video-item { 
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--primary-color);
    word-break: break-all;
}

.package-item span,
.review-item span,
.link-item span,
.app-item span,
.faq-item span,
.video-item span { 
    font-size: 1.1em;
    font-weight: bold;
    flex: 1;
    padding-right: 10px;
}

.package-item .balance-info {
    font-size: 1em;
    font-weight: bold;
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
}
.package-item .balance-info .unlimited {
    color: var(--info-color);
}
.package-item .balance-info .low-stock {
    color: var(--danger-color);
}


.package-item .actions,
.review-item .actions,
.link-item .actions,
.app-item .actions,
.faq-item .actions,
.video-item .actions { 
    display: flex;
    gap: 5px; 
}

.package-item .actions button,
.review-item .actions button,
.link-item .actions button,
.app-item .actions button,
.faq-item .actions button,
.video-item .actions button { 
    width: auto;
    padding: 8px 12px;
    font-size: 14px;
    margin-left: 0; 
}

.edit-btn {
    background: var(--info-color);
}
.edit-btn:hover {
    background: #2980b9;
}

.delete-btn {
    background: var(--danger-color);
}
.delete-btn:hover {
    background: #c0392b;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.menu-button {
    background: var(--background-color);
    border: 2px solid var(--primary-color);
    padding: 25px 15px;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1.1em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    text-align: center;
}
.menu-button:hover {
    background: var(--primary-color);
    color: var(--background-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(15, 150, 156, 0.3);
}

.menu-button i {
    font-size: 2.5em;
}

.back-btn {
    width: auto;
    padding: 8px 15px;
    background: var(--info-color);
    font-size: 14px;
    margin-bottom: 15px;
}
.back-btn:hover {
    background: #2980b9;
}


.pricing-sub-form {
    background: var(--background-color);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    margin-bottom: 15px;
}

.form-group-inline {
    display: inline-block;
    width: calc(50% - 10px);
    margin-right: 10px;
    vertical-align: top;
    box-sizing: border-box; 
}

.form-group-inline:last-of-type {
    margin-right: 0;
}

.pricing-sub-form label {
    font-size: 14px;
    color: var(--light-text);
}

.add-btn {
    background-color: #27ae60;
    margin-top: 10px;
    width: 100%;
}
.add-btn:hover {
    background-color: #229954;
}

#pricing-list-container {
    margin-top: 15px;
}

.pricing-item {
    background: var(--card-bg);
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-color);
}

.pricing-item span {
    font-weight: bold;
    color: var(--secondary-color);
    flex-grow: 1; 
}
.pricing-item span .price-value {
    color: var(--text-color);
    font-weight: normal;
}

.pricing-item .actions {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.pricing-item button {
    width: auto;
    padding: 5px 10px;
    font-size: 14px;
    margin: 0;
}
.pricing-item .edit-price-btn {
    background: var(--info-color);
}
.pricing-item .edit-price-btn:hover {
    background: #2980b9;
}
.pricing-item .delete-price-btn {
    background: var(--danger-color);
}
.pricing-item .delete-price-btn:hover {
    background: #c0392b;
}

.app-item span small {
    display: block; 
    font-weight: normal; 
    font-size: 0.8em; 
    color: var(--secondary-color); 
    opacity: 0.8; 
    margin-top: 5px; 
}

.support-subpage {
    display: none; 
}

.menu-button.support-menu-btn {
    padding: 20px 10px;
    font-size: 1em;
}

.menu-button.support-menu-btn i {
    font-size: 2em;
}

.faq-item span p {
    font-size: 0.9em;
    font-weight: normal;
    color: var(--text-color);
    margin-top: 8px;
    opacity: 0.9;
    white-space: pre-wrap; 
}


/* ❇️ ================================= ❇️ */
/* ❇️ সেলস রিপোর্ট পেজ CSS ❇️ */
/* ❇️ ================================= ❇️ */

#backToFullReportBtn {
    width: auto;
    padding: 8px 15px;
    background: var(--danger-color);
    font-size: 14px;
    margin-bottom: 0px;
}
#backToFullReportBtn:hover {
    background: #c0392b;
}


.sales-filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    align-items: flex-end;
}

.sales-filter-controls .form-group-inline {
    width: calc(50% - 5px);
    margin-right: 0;
}

.sales-filter-controls .filter-btn {
    background-color: var(--info-color);
    padding: 12px;
    flex: 1;
}
.sales-filter-controls .filter-btn:hover {
    background-color: #2980b9;
}
.sales-filter-controls .clear-btn {
    flex: 1;
}

.sales-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 20px 0;
}

.summary-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border-left: 5px solid var(--accent-color);
}
.summary-card p {
    margin: 0;
    color: var(--light-text);
}
.summary-card h3 {
    margin: 5px 0 0 0;
    color: var(--accent-color);
    font-size: 1.8em;
}

.sales-table-container {
    width: 100%;
    overflow-x: auto;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

#sales-log-table {
    width: 100%;
    border-collapse: collapse;
}

#sales-log-table th,
#sales-log-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    white-space: nowrap;
}

#sales-log-table th {
    background: var(--background-color);
    color: var(--secondary-color);
    font-size: 0.9em;
    text-transform: uppercase;
}

#sales-log-table tbody tr:hover {
    background-color: #3B3E5A;
}

#sales-log-table td {
    color: var(--text-color);
}

#sales-log-table td:nth-last-child(2) {
    font-weight: bold;
    color: #2ecc71; 
}

#sales-log-table td:last-child {
    white-space: nowrap;
}
.sales-action-btn {
    width: auto;
    padding: 5px 10px;
    font-size: 14px;
    margin-right: 5px;
}
.sales-action-btn.edit-btn {
    background: var(--info-color);
}
.sales-action-btn.delete-btn {
    background: var(--danger-color);
}

#sales-log-tbody tr.no-data-row td {
    text-align: center;
    padding: 30px;
    color: var(--light-text);
    font-size: 1.1em;
}

.payment-method-stats {
    margin-top: 25px;
}
.sub-header {
    color: var(--secondary-color);
    font-size: 1.2em;
    border-bottom: 1px solid var(--card-bg);
    padding-bottom: 10px;
    margin-bottom: 15px;
}
.stats-filter-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.stat-filter-btn {
    width: auto;
    flex: 1;
    background: var(--card-bg);
    color: var(--text-color);
    padding: 8px 15px;
    font-size: 14px;
    border: 1px solid var(--primary-color);
}
.stat-filter-btn:hover {
    background: var(--primary-color);
}
.stat-filter-btn.active {
    background: var(--accent-color);
    color: var(--background-color);
    border-color: var(--accent-color);
}

.admin-stats-grid.payment-grid {
    grid-template-columns: 1fr 1fr;
}
.payment-grid .stat-card {
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}
.payment-grid .stat-info h3 {
    font-size: 1.5em;
}

.stat-card.payment-bkash { border-left: 5px solid #E2136E; }
.stat-card.payment-bkash .stat-info h3 { color: #E2136E; }

.stat-card.payment-nagad { border-left: 5px solid #F26522; }
.stat-card.payment-nagad .stat-info h3 { color: #F26522; }

.stat-card.payment-rocket { border-left: 5px solid #663399; }
.stat-card.payment-rocket .stat-info h3 { color: #663399; }

.stat-card.payment-upay { border-left: 5px solid #FFC107; }
.stat-card.payment-upay .stat-info h3 { color: #FFC107; }


.package-sales-stats {
    margin-top: 25px;
}

.package-stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
}

.package-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--background-color);
    padding: 10px 15px;
    border-radius: 5px;
    border-left: 4px solid var(--primary-color);
    transition: background-color 0.3s ease; 
}

.package-stat-item:hover {
    background-color: #3B3E5A;
    cursor: pointer;
}

.package-stat-item .package-name {
    font-weight: bold;
    color: var(--text-color);
    font-size: 0.9em;
    word-break: break-all;
    padding-right: 10px;
}

.package-stat-item .package-count {
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    background: var(--card-bg);
    padding: 5px 10px;
    border-radius: 5px;
}


.stock-manager-form {
    max-width: 500px;
    margin: 20px auto;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
}
.stock-manager-form p {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--light-text);
}

#stock-current-balance-display {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-color);
    background: var(--background-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    display: block;
}
#stock-current-balance-display span {
    color: var(--secondary-color);
}
#stock-current-balance-display span.unlimited {
    color: var(--info-color);
}
#stock-current-balance-display span.low-stock {
    color: var(--danger-color);
}

.stock-manager-form .save-btn {
    background-color: #27ae60;
}
.stock-manager-form .save-btn:hover {
    background-color: #229954;
}


.reminder-settings, .manual-send-box {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.reminder-settings h5, .manual-send-box h5 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.reminder-settings textarea {
    min-height: 100px;
}
.reminder-settings button, .manual-send-box button {
    margin-top: 10px;
}
.manual-send-box .edit-btn {
    background: var(--info-color);
}
.manual-send-box .edit-btn:hover {
    background: #2980b9;
}

.reminder-category-details {
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
}

.reminder-category-details summary {
    cursor: pointer;
    list-style: none;
}
.reminder-category-details summary::-webkit-details-marker {
    display: none;
}

.reminder-category-details summary .reminder-header {
    border-bottom: none;
    margin-bottom: 0;
}

.reminder-category-details[open] summary .reminder-header {
     margin-bottom: 15px;
}

.reminder-category-details[open] .reminder-list-container {
    padding-top: 10px;
    border-top: 1px dashed var(--card-bg);
}

.reminder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}
.reminder-header h5 {
    color: var(--accent-color);
    margin: 0;
}
.copy-list-btn {
    width: auto;
    padding: 5px 12px;
    font-size: 12px;
    background: var(--info-color);
}
.copy-list-btn:hover {
    background: #2980b9;
}

.reminder-list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.reminder-item {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--danger-color);
}

.reminder-lists .reminder-category-details:nth-of-type(1) .reminder-item {
    border-left-color: #27ae60;
}
.reminder-lists .reminder-category-details:nth-of-type(2) .reminder-item {
    border-left-color: var(--accent-color);
}
.reminder-lists .reminder-category-details:nth-of-type(3) .reminder-item {
    border-left-color: #e67e22;
}
.reminder-lists .reminder-category-details:nth-of-type(4) .reminder-item {
    border-left-color: var(--danger-color);
}
.reminder-lists .reminder-category-details:nth-of-type(5) .reminder-item {
    border-left-color: var(--info-color);
}


.reminder-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    padding-right: 10px;
    overflow-wrap: break-word; 
}
.reminder-info .whatsapp-num {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-color);
}
.reminder-info .package-name {
    font-size: 0.9em;
    color: var(--secondary-color);
}
.reminder-info .expiry-date {
    font-size: 0.8em;
    color: var(--light-text);
}
.send-reminder-btn {
    width: auto;
    padding: 8px 15px;
    background: #25D366;
    color: white;
    font-size: 14px;
}
.send-reminder-btn:hover {
    background: #128C7E;
}
.no-reminders {
    color: var(--light-text);
    padding: 10px;
    text-align: center;
}
.reminder-info .sent-status {
    font-size: 0.9em;
    font-weight: bold;
    color: var(--info-color);
    margin-top: 5px;
}
.reminder-info .sent-status.sent {
    color: var(--secondary-color);
}

.send-reminder-btn.sent-btn {
    background: #7f8c8d;
    cursor: not-allowed;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 500px;
    border-top: 5px solid var(--primary-color);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2em;
    color: var(--light-text);
    cursor: pointer;
    transition: color 0.3s ease;
}
.modal-close:hover {
    color: var(--accent-color);
}

.modal-content h4 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3em;
}
.modal-content h4 i {
    margin-right: 10px;
}

.modal-form .save-btn {
    background-color: #27ae60;
}
.modal-form .save-btn:hover {
    background-color: #229954;
}

.reminder-category-details {
    margin-bottom: 25px;
    border-bottom: 2px solid var(--primary-color);
}

.reminder-category-details summary {
    cursor: pointer;
    list-style: none;
}
.reminder-category-details summary::-webkit-details-marker {
    display: none;
}

.reminder-category-details summary .reminder-header {
    border-bottom: none;
    margin-bottom: 0;
}

.reminder-category-details[open] summary .reminder-header {
     margin-bottom: 15px;
}

.reminder-category-details[open] .reminder-list-container {
    padding-top: 10px;
    border-top: 1px dashed var(--card-bg);
}

.reminder-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
}
.reminder-header h5 {
    color: var(--accent-color);
    margin: 0;
}
.copy-list-btn {
    width: auto;
    padding: 5px 12px;
    font-size: 12px;
    background: var(--info-color);
}
.copy-list-btn:hover {
    background: #2980b9;
}

.reminder-list-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
.reminder-item {
    background: var(--card-bg);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 4px solid var(--danger-color);
}

.reminder-lists .reminder-category-details:nth-of-type(1) .reminder-item {
    border-left-color: #27ae60;
}
.reminder-lists .reminder-category-details:nth-of-type(2) .reminder-item {
    border-left-color: var(--accent-color);
}
.reminder-lists .reminder-category-details:nth-of-type(3) .reminder-item {
    border-left-color: #e67e22;
}
.reminder-lists .reminder-category-details:nth-of-type(4) .reminder-item {
    border-left-color: var(--danger-color);
}
.reminder-lists .reminder-category-details:nth-of-type(5) .reminder-item {
    border-left-color: var(--info-color);
}


.reminder-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    padding-right: 10px;
    overflow-wrap: break-word; 
}
.reminder-info .whatsapp-num {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--text-color);
}
.reminder-info .package-name {
    font-size: 0.9em;
    color: var(--secondary-color);
}
.reminder-info .expiry-date {
    font-size: 0.8em;
    color: var(--light-text);
}
.send-reminder-btn {
    width: auto;
    padding: 8px 15px;
    background: #25D366;
    color: white;
    font-size: 14px;
}
.send-reminder-btn:hover {
    background: #128C7E;
}
.no-reminders {
    color: var(--light-text);
    padding: 10px;
    text-align: center;
}
.reminder-info .sent-status {
    font-size: 0.9em;
    font-weight: bold;
    color: var(--info-color);
    margin-top: 5px;
}
.reminder-info .sent-status.sent {
    color: var(--secondary-color);
}

.send-reminder-btn.sent-btn {
    background: #7f8c8d;
    cursor: not-allowed;
}

.reminder-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-end;
    flex-shrink: 0;
}

.reminder-actions .reminder-edit-btn {
    width: auto;
    padding: 8px 15px;
    font-size: 14px;
    background: var(--info-color);
    color: white;
}

.reminder-actions .reminder-edit-btn:hover {
    background: #2980b9;
}


@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding: 10px; 
    }

    .login-container, .dashboard-container {
        padding: 15px; 
        margin-top: 10px;
        max-width: 100%; 
    }

    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
    .stat-card {
        padding: 15px;
    }
    .stat-icon {
        font-size: 2em;
        padding: 12px;
    }
    .stat-info h3 {
        font-size: 1.5em;
    }
    
    .admin-stats-grid.lifetime-stats,
    .admin-stats-grid.orders-stats { 
        grid-template-columns: 1fr;
    }
    .lifetime-stats .stat-info h3,
    .orders-stats .stat-info h3 { 
        font-size: 1.3em;
    }
    
    .admin-stats-grid.payment-grid {
        grid-template-columns: 1fr 1fr; 
    }
    .payment-grid .stat-info h3 {
        font-size: 1.2em;
    }
    

    h2 {
        font-size: 1.5em; 
    }

    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    .menu-button {
        padding: 20px 10px;
        font-size: 1em;
    }
    .menu-button i {
        font-size: 2em;
    }

    .package-item,
    .review-item,
    .link-item,
    .app-item,
    .faq-item,
    .video-item {
        flex-direction: column; 
        align-items: flex-start; 
        gap: 15px; 
    }
    
    .package-item {
        align-items: center;
    }
    .package-item span {
        text-align: center;
        width: 100%;
    }
    .package-item .balance-info {
        margin-right: 0;
        margin-top: 5px;
    }
    
    .package-item .actions,
    .review-item .actions,
    .link-item .actions,
    .app-item .actions,
    .faq-item .actions,
    .video-item .actions { 
        display: flex;
        width: 100%; 
        gap: 10px; 
    }
    
    .package-item .actions button,
    .review-item .actions button,
    .link-item .actions button,
    .app-item .actions button,
    .faq-item .actions button,
    .video-item .actions button { 
        flex: 1; 
        margin-left: 0;
    }

    .button-group {
        flex-direction: column; 
    }
    
    .form-group-inline {
        width: 100%;
        margin-right: 0;
    }
    
    .pricing-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .pricing-item .actions {
        width: 100%;
    }
    .pricing-item .actions button {
        flex: 1;
    }

    .sales-filter-controls {
        flex-direction: column;
    }
    .sales-filter-controls .form-group-inline {
        width: 100%;
    }
    .sales-summary {
        grid-template-columns: 1fr;
    }
    .admin-stats-grid.lifetime-stats,
    .admin-stats-grid.orders-stats { 
        grid-template-columns: 1fr;
    }
    .lifetime-stats .stat-info h3,
    .orders-stats .stat-info h3 { 
        font-size: 1.3em;
    }
    
    .admin-stats-grid.payment-grid {
        grid-template-columns: 1fr 1fr; 
    }
    .payment-grid .stat-info h3 {
        font-size: 1.2em;
    }
    
    .package-stats-container {
        grid-template-columns: 1fr;
    }

    .reminder-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .reminder-actions {
        width: 100%; 
        flex-direction: row;
    }
    
    .reminder-actions .send-reminder-btn,
    .reminder-actions .reminder-edit-btn {
        flex: 1; 
        width: 100%;
        text-align: center;
    }
}
