@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@400;500;700&display=swap');

:root {
    --primary-accent: #ff5522; /* Main orange color */
    --primary-accent-dark: #e64a1c;
    --primary-gold: #ff5522;
    --primary-hover: #ff6633;
    --background-primary: #141414;
    --background-secondary: #1c1c1c;
    --background-tertiary: #262626;
    --text-primary: #ffffff;
    --text-secondary: #b0b7c3;
    --border-color: #383838;
    --success-color: #4caf50;
    --error-color: #ba1d1d;
    --shadow-color: rgba(255, 85, 34, 0.15);
    --button-disabled-bg: #555555;
    --button-disabled-text: #999999;
    --button-disabled-border: #666666;
}

 

#openModalBtn {
    padding: 15px 30px;
    background: linear-gradient(45deg, var(--primary-accent), var(--primary-accent-dark));
    color: var(--background-tertiary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 5px 20px var(--shadow-color);
    transition: all 0.3s ease;
}

#openModalBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-color);
}


/* Modal Styles */
.n-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
}

.n-modal.active {
    display: flex;
}

.wrap-theme-box {
    background: linear-gradient(180deg, #262626, #1c1c1c);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 24px;
    width: 90%;
    max-width: 480px;
    position: relative;
    animation: fadeIn 0.4s ease-out;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.inner-theme-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header p {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    text-shadow: 0 0 5px rgba(255, 85, 34, 0.3);
}

.close-icon {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: #ff5522;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--background-primary);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 85, 34, 0.5);
}
.close-icon:hover {
    background-color: #fff;
    color: #ff5522;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(255, 85, 34, 0.8);
}

.close-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
}


/* Tabs */
.n-tabs-nav {
    display: flex;
    position: relative;
    background-color: #1c1c1c; /* Darker background for tabs container */
    border-radius: 10px;
    padding: 4px;
}

.n-tabs-tab-wrapper {
    flex: 1;
}

.n-tabs-tab {
    width: 100%;
    padding: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.1rem; /* Increased font size */
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    text-align: center;
    z-index: 2;
}

.n-tabs-tab.active {
    color: #ffffff; /* Active tab color */
    font-weight: 700;
}

.n-tabs-bar {
    position: absolute;
    top: 4px;
    bottom: 4px;
    height: auto;
    background: #ff5522; /* Tab slider background */
    transition: left 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 8px;
    z-index: 1;
    border: none;
    box-shadow: 0 0 15px rgba(255, 85, 34, 0.3);
}

.n-tabs-pane-wrapper {
    padding-top: 16px;
}

.n-tab-pane {
    display: none;
    flex-direction: column;
    gap: 1rem;
    animation: fadePaneIn 0.5s ease;
}

@keyframes fadePaneIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.n-tab-pane.active {
    display: flex;
}

/* Card List */
.card-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #262626;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-list:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow-color);
    border-color: var(--primary-accent);
}

.card-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-grow: 1;
    gap: 12px;
}

.card-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-info img {
    max-width: 50px;
    height: 50px;
    border-radius: 50%;
    padding: 5px;
    background-color: #1c1c1c;
    margin: 0;
}

.card-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.card-title {
    display: flex;
    gap: 8px;
    align-items: center;
}

.card-title span {
    font-size: 1.1rem; /* Increased font size */
    font-weight: 500;
    color: var(--text-primary);
}

.info-icon svg {
    width: 18px; /* Increased size */
    height: 18px; /* Increased size */
    fill: var(--text-secondary);
}

.text-number {
    font-size: 1.4rem; /* Increased font size */
    color: var(--primary-accent);
    font-weight: 700;
    text-shadow: 0 0 8px var(--shadow-color);
}

.text-points {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.btn-card-list {
    background: linear-gradient(45deg, var(--primary-accent), var(--primary-accent-dark));
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem; /* Set font size */
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-card-list:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 85, 34, 0.4);
}

.btn-card-list.disabled {
    background-color: var(--button-disabled-bg);
    color: var(--button-disabled-text);
    cursor: not-allowed;
    border-color: var(--button-disabled-border);
    transform: none;
    box-shadow: none;
}

/* Payment Modal */
.inner-alert-box {
    text-align: center;
    background: radial-gradient(circle, #262626 0%, #141414 100%);
}

.payment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem; /* Increased gap */
}

.payment-content img {
    width: 90px; /* Increased size */
    filter: drop-shadow(0 0 15px var(--shadow-color));
}

.payment-title {
    color: var(--text-primary);
    font-size: 1.5rem; /* Increased font size */
    font-weight: 700;
}

#paymentAmount {
    color: var(--text-primary);
    font-size: 1.2rem; /* Increased font size */
    font-weight: 500;
    background-color: var(--background-tertiary);
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.button-group {
    display: grid; /* Changed to grid */
    grid-template-columns: 1fr 1fr; /* 2 equal columns */
    justify-content: center;
    align-items: flex-start; /* Align items to the top */
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.btn-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%; /* Full width of grid cell */
}

.n-button {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-accent), var(--primary-accent-dark));
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 14px; /* Increased padding */
    font-weight: 700;
    cursor: pointer;
    font-size: 1.1rem; /* Increased font size */
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.n-button:hover:not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-color);
}

.n-button.disabled {
    background: var(--background-tertiary);
    color: #6c757d;
    cursor: not-allowed;
    border: 1px solid #495057;
}

.error-msg {
    color: var(--error-color);
    font-size: 0.9rem; /* Increased font size */
    min-height: 1.5em; /* Reserve space */
}

.error-msg.warning {
    color: #ff0000;
    font-weight: 600;
    animation: blink 2s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Detail Modal */
.detail-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.total-loss-box {
    border-radius: 12px;
    background: linear-gradient(135deg, var(--background-tertiary), #010600);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.3);
}

.total-loss-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
}

.total-loss-header > p {
    font-weight: 500;
    font-size: 1.25rem; /* Increased font size */
}

.total-loss-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.total-loss-amount p {
    font-weight: 700;
    font-size: 1.7rem; /* Increased font size */
    color: var(--primary-accent);
    text-shadow: 0 0 10px var(--shadow-color);
}

.refresh-icon svg {
    width: 26px; /* Increased size */
    height: 26px; /* Increased size */
    fill: var(--text-secondary);
    cursor: pointer;
    transition: transform 0.5s ease, color 0.3s ease;
}
.refresh-icon:hover svg {
    transform: rotate(180deg);
    fill: var(--primary-accent);
}

.loss-details {
    color: var(--text-secondary);
    background-color: #010600;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-around;
}

.loss-item {
    display: flex;
    justify-content: space-between;
    width: 48%;
    font-size: 1rem; /* Increased font size */
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    margin: 8px 0;
}
.divider.vertical {
    border-left: 1px solid var(--border-color);
    height: auto;
    background-color: transparent;
    margin: 0 8px;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem; /* Increased font size */
}

.history-title {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 1.2rem; /* Increased font size */
    padding-left: 5px;
}

.history-header {
    background-color: var(--background-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    justify-content: space-around;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 10px; /* Increased padding */
    font-size: 1rem; /* Increased font size */
}

.history-list {
    min-height: 140px; /* Increased height */
    border: 1px solid var(--border-color);
    padding: 12px;
    color: var(--text-primary);
    background-color: #010600;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-history {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
}

.empty-history img {
    width: 70px; /* Increased size */
    opacity: 0.5;
}

.empty-history p {
    font-size: 1rem; /* Increased font size */
}

.rules-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.rules-link svg {
    fill: var(--primary-accent);
}

.rules-link p {
    margin: 0;
    color: var(--primary-gold);
    font-size: 0.9rem;
    text-decoration: underline;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 0 5px rgba(233, 176, 51, 0.3);
}

.rules-link svg {
    color: var(--primary-gold);
    filter: drop-shadow(0 0 2px rgba(233, 176, 51, 0.3));
    transition: transform 0.3s ease;
}

.rules-link:hover svg {
    transform: scale(1.1) rotate(10deg);
    filter: drop-shadow(0 0 4px rgba(233, 176, 51, 0.5));
}

.rule-text-color {
    color: var(--text-secondary);
    background-color: #010600;
    padding: 16px;
    border-radius: 8px;
    line-height: 1.8;
}
.rule-text-color h1 {
    font-size: 1.2em; /* Increased font size */
    color: var(--text-primary);
    margin-bottom: 0.5em;
}
.rule-text-color p {
    font-size: 1rem; /* Increased font size */
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: -400px; /* Start off-screen */
    width: auto;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-secondary), var(--background-tertiary));
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 2000;
    transition: right 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.notification.show {
    right: 20px; /* Slide in */
}

.notification-icon {
    font-size: 1.5rem;
}

.notification.notification-success .notification-icon {
    color: var(--success-color);
}

.notification.notification-error .notification-icon {
    color: var(--error-color);
}

.notification-message {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
} 

.n-modal.active .detail-modal-box {
    animation: zoomIn 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

#detailContentWrapper {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
    margin: 0 auto;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.8rem;
    margin-bottom: 0.5rem;
}

.detail-header p {
    text-align: left;
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-primary);
    margin: 0;
}

.detail-main-content {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.loss-summary-box {
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(1,6,0,1) 100%);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.loss-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(0,0,0,0.4);
}

.loss-summary-header p {
    font-weight: bold;
    font-size: 1.1rem;
    color: var(--text-primary);
    margin: 0;
}

.loss-summary-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.refresh-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-gold);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.refresh-icon:hover svg {
    transform: rotate(90deg);
}

.loss-summary-footer {
    background: #010600;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #8E8F95;
    font-size: 0.9rem;
}

.footer-item {
    display: flex;
    justify-content: space-between;
    width: 48%;
}

.footer-item p {
    margin: 0;
}

.footer-divider {
    width: 1px;
    background-color: #3e3e3e;
    align-self: stretch;
}

.last-updated {
    text-align: center;
    font-size: 0.85rem;
    color: #8E8F95;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.last-updated p {
    margin: 0;
}

.history-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.history-title {
    font-weight: bold;
    color: var(--text-primary);
    font-size: 1rem;
    margin: 0.5rem 0;
}

.history-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    padding: 0.7rem 0.5rem;
    background: linear-gradient(to bottom, #3E3E3E, #010600);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-weight: bold;
}

.history-header p {
    margin: 0;
}

.history-body {
    background: rgba(0,0,0,0.4);
    border-radius: 0.5rem;
    min-height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.no-history {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    color: #8E8F95;
}

.no-history p {
    margin: 0;
    font-size: 0.9rem;
}

.empty-icon {
    width: 60px;
    height: 60px;
    opacity: 0.7;
}

/* Rules Modal */
#rulesModal {
    z-index: 1002;
}

.detail-modal-box {
    max-width: 500px;
    width: 90%;
    margin: 0 auto;
}

.detail-modal-box .close-icon {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-gold);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    color: var(--background-primary);
    box-shadow: 0 0 10px rgba(233, 176, 51, 0.5);
}

.detail-modal-box .close-icon:hover {
    background-color: #fff;
    color: var(--primary-gold);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(233, 176, 51, 0.8);
}

.detail-modal-box .close-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
} 

#rulesModal .close-icon {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background-color: var(--primary-gold);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    color: var(--background-primary);
    box-shadow: 0 0 10px rgba(233, 176, 51, 0.5);
}

#rulesModal .close-icon:hover {
    background-color: #fff;
    color: var(--primary-gold);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 15px rgba(233, 176, 51, 0.8);
}

#rulesModal .close-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 3;
} 

/* Rule Content Styles */
.rule-text-color {
    background-color: #0c1015;
    border-radius: 12px;
    padding: 20px !important;
    color: var(--text-primary);
}

.rule-text-color h1 {
    color: var(--primary-accent);
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.rule-text-color h2 {
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
}

.rule-text-color p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.rule-important {
    background-color: rgba(186, 29, 29, 0.1);
    border-left: 3px solid var(--error-color);
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
}

.rule-important p {
    color: #ff9999 !important;
    font-weight: 500;
}

.rule-section {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.rule-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.rule-example {
    background-color: rgba(255, 85, 34, 0.1);
    border-left: 3px solid #ff5522;
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 0 8px 8px 0;
} 

#rulesModalTitle {
    color: var(--primary-gold) !important;
    font-size: 1.25rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(233, 176, 51, 0.3);
} 

.history-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    text-align: center;
    padding: 12px 8px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    align-items: center;
    transition: all 0.3s ease;
}

.history-item:last-child {
    border-bottom: none;
}

.history-item:hover {
    background-color: rgba(254, 220, 86, 0.05);
}

.history-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.history-amount {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-accent);
}

.history-status {
    font-size: 0.9rem;
}

.status-success {
    color: #4caf50;
    background-color: rgba(76, 175, 80, 0.1);
    padding: 5px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-pending {
    color: #ff9800;
    background-color: rgba(255, 152, 0, 0.1);
    padding: 5px 10px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.status-icon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-success .status-icon {
    background-color: #4caf50;
    box-shadow: 0 0 5px #4caf50;
}

.status-pending .status-icon {
    background-color: #ff9800;
    box-shadow: 0 0 5px #ff9800;
}

.history-items-container {
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-accent) var(--background-tertiary);
}

.history-items-container::-webkit-scrollbar {
    width: 6px;
}

.history-items-container::-webkit-scrollbar-track {
    background: var(--background-tertiary);
    border-radius: 3px;
}

.history-items-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-accent);
    border-radius: 3px;
} 

/* Mobile Responsive Design */
@media screen and (max-width: 767px) {
    .wrap-theme-box {
        padding: 16px;
        width: 95%;
        max-width: 100%;
        margin: 0 10px;
    }
    
    .modal-header p {
        font-size: 1.2rem;
    }
    
    .close-icon {
        width: 36px;
        height: 36px;
        top: -12px;
        right: -12px;
    }
    
    .close-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .n-tabs-tab {
        padding: 10px 6px;
        font-size: 0.95rem;
    }
    
    .card-list {
        flex-direction: column;
        padding: 12px 10px;
    }
    
    .card-link {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card-info {
        width: 100%;
        justify-content: center;
    }
    
    .btn-card-list {
        width: 100%;
    }
    
    .card-text {
        text-align: center;
    }
    
    .button-group {
        grid-template-columns: 1fr;
    }
    
    .history-header {
        font-size: 0.85rem;
    }
    
    .history-item {
        padding: 10px 5px;
    }
    
    .history-date {
        font-size: 0.8rem;
    }
    
    .history-amount {
        font-size: 0.9rem;
    }
    
    .status-success, .status-pending {
        padding: 3px 8px;
        font-size: 0.8rem;
    }
    
    .loss-summary-header p {
        font-size: 1rem;
    }
    
    .loss-summary-amount p {
        font-size: 1.4rem;
    }
    
    .loss-summary-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-item {
        width: 100%;
    }
    
    .footer-divider {
        display: none;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 375px) {
    .modal-header p {
        font-size: 1.1rem;
    }
    
    .n-tabs-tab {
        font-size: 0.85rem;
        padding: 8px 4px;
    }
    
    .text-number {
        font-size: 1.2rem;
    }
    
    .text-points {
        font-size: 0.8rem;
    }
    
    .btn-card-list {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
    
    .n-button {
        padding: 10px;
        font-size: 1rem;
    }
}

/* Medium Devices (Tablets) */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .wrap-theme-box {
        max-width: 700px;
    }
    
    .loss-summary-box {
        display: flex;
        flex-direction: column;
    }
    
    .btn-card-list {
        min-width: 100px;
    }
}

/* Large Devices (Desktops) */
@media screen and (min-width: 992px) {
    .wrap-theme-box {
        max-width: 800px;
    }
    
    .button-group {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .card-list:hover {
        transform: translateY(-5px);
    }
} 