/**
 * Newbeings 1619 Debt Tracker - Frontend Styles
 * Color Scheme: Shades of Brown with White Background
 */

/* Main Container */
.nb1619-debt-tracker {
    margin: 20px auto;
    max-width: 600px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nb1619-tracker-container {
    background: #ffffff;
    border: 2px solid #6D4C41;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(61, 39, 35, 0.1);
}

/* Header */
.nb1619-tracker-header {
    background: #3E2723;
    padding: 20px;
    text-align: center;
}

.nb1619-tracker-title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    color: #D7CCC8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Body */
.nb1619-tracker-body {
    padding: 30px 20px;
    background: #ffffff;
    text-align: center;
    overflow: hidden;
}

/* Counter */
.nb1619-counter {
    margin-bottom: 15px;
    width: 100%;
    overflow: hidden;
}

.nb1619-counter-value {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #3E2723;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: -1px;
    line-height: 1.2;
    padding: 0 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Meta Information */
.nb1619-tracker-meta {
    padding: 15px;
    background: #D7CCC8;
    border-radius: 5px;
    margin-top: 20px;
}

.nb1619-daily-increase {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #6D4C41;
}

/* Footer */
.nb1619-tracker-footer {
    background: #A1887F;
    padding: 12px 20px;
    text-align: center;
}

.nb1619-tracker-info {
    font-size: 14px;
    color: #3E2723;
    font-weight: 500;
}

/* Error Messages */
.nb1619-error {
    padding: 15px;
    background: #ffebee;
    border: 1px solid #8D6E63;
    border-radius: 5px;
    color: #5d4037;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nb1619-debt-tracker {
        margin: 15px 10px;
    }
    
    .nb1619-tracker-title {
        font-size: 20px;
    }
    
    .nb1619-counter-value {
        font-size: 32px;
        padding: 0 15px;
    }
    
    .nb1619-daily-increase {
        font-size: 16px;
    }
    
    .nb1619-tracker-body {
        padding: 25px 15px;
    }
}

@media (max-width: 480px) {
    .nb1619-tracker-header {
        padding: 15px 10px;
    }
    
    .nb1619-tracker-body {
        padding: 20px 10px;
    }
    
    .nb1619-tracker-title {
        font-size: 16px;
        letter-spacing: 0.3px;
    }
    
    .nb1619-counter-value {
        font-size: 24px;
        padding: 0 10px;
        letter-spacing: -0.5px;
    }
    
    .nb1619-daily-increase {
        font-size: 13px;
    }
    
    .nb1619-tracker-meta {
        padding: 12px;
    }
    
    .nb1619-tracker-footer {
        padding: 10px;
    }
    
    .nb1619-tracker-info {
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .nb1619-counter-value {
        font-size: 20px;
        padding: 0 5px;
    }
    
    .nb1619-tracker-title {
        font-size: 14px;
    }
    
    .nb1619-daily-increase {
        font-size: 12px;
    }
}

/* Animation */
.nb1619-counter-value {
    transition: color 0.3s ease;
}

.nb1619-debt-tracker:hover .nb1619-counter-value {
    color: #6D4C41;
}
