body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
    overflow-x: hidden;
}
.container {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}
.version-info {
    text-align: center;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 14px;
}
.version-info #current-version {
    font-weight: bold;
    color: #27ae60;
}
.section {
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.section h2 {
    margin-top: 0;
    color: #3498db;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="password"],
input[type="text"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #2980b9;
}
.drop-zone {
    border: 2px dashed #3498db;
    border-radius: 5px;
    padding: 25px;
    text-align: center;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s;
}
.drop-zone:hover,
.drop-zone.dragover {
    background-color: #f0f8ff;
    border-color: #2980b9;
}
.status {
    padding: 10px;
    margin: 10px 0;
    border-radius: 4px;
}
.status.floating {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    min-width: 300px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.status-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.status-container .status.floating {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    pointer-events: auto;
}

.status-container .status.floating.removing {
    opacity: 0;
    transform: translateY(-10px);
}
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.hidden {
    display: none;
}
pre {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    overflow-x: auto;
    white-space: pre-wrap;
}
.token-info {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}
.token-info strong {
    color: #495057;
}
.token-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-top: 3px solid transparent;
    border-radius: 8px;
    padding: 12px;
    margin: 0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s ease, border-top-color 0.3s ease;
    box-sizing: border-box;
    width: 100%;
}
.token-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-top-color: #3498db;
}
.token-list-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.token-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    width: 100%;
    margin: 0;
}
.token-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.token-id {
    font-weight: bold;
    color: #2c3e50;
    font-size: 16px;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 300px;
}
.token-header-badges {
    display: flex;
    gap: 5px;
}
.token-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}
.status-valid {
    background-color: #d4edda;
    color: #155724;
}
.status-expired {
    background-color: #f8d7da;
    color: #721c24;
}
.status-usage {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-info {
    background-color: #d1ecf1;
    color: #0c5460;
}
.token-details {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}
.token-details div {
    margin-bottom: 4px;
    word-break: break-word;
    overflow-wrap: break-word;
}
.token-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}
.token-status-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}
.btn-refresh, .btn-delete {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.btn-refresh {
    background-color: #3498db;
    color: white;
}
.btn-refresh:hover {
    background-color: #2980b9;
}
.btn-delete {
    background-color: #e74c3c;
    color: white;
}
.btn-delete:hover {
    background-color: #c0392b;
}
.api-test-section {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
}
.api-test-section h2 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: left;
}
#message {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: white;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.3s ease;
}
#message:focus,
#message:hover {
    border-color: #3498db;
    outline: none;
}
#model {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: white;
    color: #333;
    cursor: pointer;
    transition: border-color 0.3s ease;
}
#model:focus,
#model:hover {
    border-color: #3498db;
    outline: none;
}
#send-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    display: block;
    margin: 20px auto 0;
}
#send-btn:hover {
    background-color: #2980b9;
}
#api-response {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
}
#api-response h3 {
    background-color: #f8f9fa;
    color: #2c3e50;
    margin: 0;
    padding: 10px;
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}
#response-content {
    padding: 10px;
    background-color: #f8f9fa;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    color: #333;
}
#login-section {
    background-color: white;
    border: none;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}
#login-section h2 {
    color: #3498db;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}
.login-input-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    max-width: 400px;
    margin: 0 auto;
}
#password {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: white;
    transition: border-color 0.3s ease;
    height: 42px;
}
#password:focus,
#password:hover {
    border-color: #3498db;
    outline: none;
}
#login-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    height: 42px;
    margin: 0;
    display: inline-block;
    white-space: nowrap;
    min-width: 80px;
}
#login-btn:hover {
    background-color: #2980b9;
}
#oauth-details .oauth-button-container {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    width: 100%;
    margin-top: 15px;
}
#manual-open-btn,
#oauth-cancel-btn {
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
    height: auto;
    line-height: 1.2;
    white-space: nowrap;
    display: inline-block;
}
#manual-open-btn {
    background-color: #007bff;
    color: white;
}
#oauth-cancel-btn {
    background-color: #dc3545;
    color: white;
}
#manual-open-btn:hover,
#oauth-cancel-btn:hover {
    opacity: 0.9;
}
#refresh-status {
    text-align: center;
    margin: 10px 0;
    border: none;
    border-radius: 0;
    padding: 0;
    background: none;
}
#token-status {
    margin-bottom: 15px;
    background-color: white;
    border-radius: 4px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.model-usage-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 10px;
}

.model-usage-list li {
    background-color: #f8f9fa;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 5px;
    border-left: 3px solid #2ecc71;
}

.usage-stats-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.usage-model-name {
    font-weight: bold;
    font-size: 1.1em;
    color: #2c3e50;
}

.usage-stats-badges {
    display: flex;
    gap: 10px;
}

.status-tokens {
    background-color: #f0f2f5;
    color: #5a6470;
}

.status-calls {
    background-color: #eaf5ff;
    color: #2980b9;
}

.total-usage-badges, .token-summary-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.total-usage-badges .token-status, .token-summary-badges .token-status {
    padding: 10px 20px;
    font-size: 16px;
}

.usage-date-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.usage-date-selector input[type="date"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    min-width: 150px;
    color: #333;
    background-color: white;
    transition: border-color 0.3s ease;
}

.usage-date-selector input[type="date"]:focus,
.usage-date-selector input[type="date"]:hover {
    border-color: #3498db;
    outline: none;
}

.usage-date-selector input[type="text"] {
    padding: 8px 40px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    min-width: 150px;
    color: #333;
    background-color: white;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.usage-date-selector input[type="text"]:focus,
.usage-date-selector input[type="text"]:hover {
    border-color: #3498db;
    outline: none;
}

.usage-date-selector button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.usage-date-selector button:hover {
    background-color: #2980b9;
}

.usage-date-selector button[style*="background-color: #e74c3c"] {
    background-color: #e74c3c;
}

.usage-date-selector button[style*="background-color: #e74c3c"]:hover {
    background-color: #c0392b;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    .container {
        padding: 15px;
    }
    
    .section {
        padding: 12px;
        margin-bottom: 20px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    h2 {
        font-size: 18px;
    }
    
    .token-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .token-card {
        padding: 10px;
    }
    
    .token-id {
        font-size: 14px;
        max-width: 200px;
    }
    
    .total-usage-badges, .token-summary-badges {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .total-usage-badges .token-status, .token-summary-badges .token-status {
        padding: 8px 12px;
        font-size: 14px;
        text-align: center;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .usage-date-selector {
        flex-direction: column;
        gap: 8px;
    }
    
    .usage-date-selector input[type="date"] {
        min-width: 100%;
        width: 100%;
    }
    
    .usage-date-selector button {
        width: 100%;
        padding: 10px;
    }
    
    .token-status-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .token-status-buttons button {
        width: 100%;
        padding: 12px;
    }
    
    .login-input-group {
        flex-direction: column;
        max-width: 100%;
    }
    
    #password {
        border-radius: 4px;
        margin-bottom: 10px;
        width: 100%;
    }
    
    #login-btn {
        border-radius: 4px;
        width: 100%;
    }
    
    #oauth-details .oauth-button-container {
        flex-direction: column;
    }
    
    #manual-open-btn,
    #oauth-cancel-btn {
        width: 100%;
        padding: 12px;
    }
    
    #model, #message {
        font-size: 14px;
    }
    
    #send-btn {
        width: 100%;
        padding: 12px;
    }
    
    .token-status {
        font-size: 12px;
        padding: 3px 6px;
    }
    
    .token-details {
        font-size: 12px;
    }
    
    .token-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-refresh, .btn-delete {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 5px;
    }
    
    .container {
        padding: 10px;
    }
    
    .section {
        padding: 8px;
        margin-bottom: 15px;
    }
    
    h1 {
        font-size: 20px;
    }
    
    h2 {
        font-size: 16px;
    }
    
    .total-usage-badges .token-status, .token-summary-badges .token-status {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .token-id {
        font-size: 12px;
        max-width: 150px;
    }
    
    .drop-zone {
        padding: 15px;
    }
}

.custom-date-picker {
    position: relative;
    display: inline-block;
    width: 200px;
}

.custom-date-picker input[type="text"] {
    width: 100%;
    padding: 8px 40px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.custom-date-picker input[type="text"]:focus,
.custom-date-picker input[type="text"]:hover {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

#date-picker-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    font-size: 16px;
    color: #666;
    z-index: 2;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#date-picker-btn:hover {
    background-color: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

@supports (-webkit-touch-callout: none) {
    #date-picker-btn {
        -webkit-appearance: none;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .custom-date-picker input[type="text"] {
        -webkit-appearance: none;
        -webkit-user-select: none;
        user-select: none;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 1) and (max-device-width: 480px) {
    #date-picker-btn {
        -webkit-tap-highlight-color: rgba(52, 152, 219, 0.2);
        outline: none;
    }
}

.date-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    margin-top: 4px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: fadeInDown 0.2s ease-out;
    min-width: 280px;
    max-width: 320px;
    width: max-content;
}

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

.date-picker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-bottom: none;
    border-radius: 8px 8px 0 0;
}

.date-picker-header button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.date-picker-header button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#current-month-year {
    font-weight: 600;
    color: white;
    font-size: 16px;
    letter-spacing: 0.5px;
}

.date-picker-calendar {
    padding: 15px;
    background: white;
    overflow: hidden;
}

.weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}

.weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 13px;
    padding: 8px 4px;
    background: #f8f9fa;
    border-radius: 4px;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    width: 100%;
    box-sizing: border-box;
}

.calendar-day {
    text-align: center;
    padding: 8px 2px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
    min-height: 32px;
    max-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-weight: 500;
    border: 1px solid transparent;
    box-sizing: border-box;
    overflow: hidden;
    word-break: keep-all;
    flex-shrink: 0;
    width: 100%;
}

.calendar-day:hover {
    background-color: #e3f2fd;
    color: #1976d2;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calendar-day.other-month {
    color: #ccc;
    cursor: default;
    font-weight: 400;
}

.calendar-day.other-month:hover {
    background-color: transparent;
    color: #ccc;
    transform: none;
    box-shadow: none;
}

.calendar-day.today {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
    border: 1px solid #2196f3;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    font-weight: 600;
    border: 1px solid #2980b9;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.calendar-day.has-data {
    position: relative;
    background: linear-gradient(135deg, #d4f1d4, #c8e6c8);
    border: 1px solid #4caf50;
    color: #2e7d32;
    font-weight: 600;
}

.calendar-day.has-data:hover {
    background: linear-gradient(135deg, #c8e6c9, #a8d8a8);
    color: #1b5e20;
    border-color: #2e7d32;
}

.calendar-day.has-data.selected {
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    border-color: #2e7d32;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

.calendar-day.has-data::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: #4caf50;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.calendar-day.has-data.selected::after {
    background-color: white;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.date-picker-tip {
    text-align: center;
    padding: 12px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    margin-top: 10px;
}

.date-picker-tip small {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

@media (hover: none) and (pointer: coarse) {
    .date-picker-header button,
    .calendar-day,
    #date-picker-btn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    #date-picker-btn {
        width: 36px;
        height: 36px;
        right: 6px;
        padding: 8px;
        font-size: 18px;
    }
    
    .calendar-day {
        min-height: 44px;
    }
    
    .date-picker-header button {
        min-width: 44px;
        min-height: 44px;
    }
    
    .calendar-day:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .date-picker-header button:active {
        transform: scale(0.9);
        transition: transform 0.1s ease;
    }
    
    #date-picker-btn:active {
        transform: translateY(-50%) scale(0.9);
        transition: transform 0.1s ease;
    }
}

@media (max-width: 768px) {
    .usage-date-selector {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .custom-date-picker {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .custom-date-picker input[type="text"] {
        padding: 12px 50px 12px 16px;
        font-size: 16px;
        height: 48px;
        box-sizing: border-box;
    }
    
    #date-picker-btn {
        width: 40px;
        height: 40px;
        right: 4px;
        padding: 0;
        font-size: 20px;
        border-radius: 6px;
    }
    
    .date-picker-dropdown {
        left: 0;
        right: 0;
        width: 100%;
        min-width: unset;
        max-width: unset;
        margin-top: 8px;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    
    .date-picker-header {
        padding: 18px 20px;
        border-radius: 12px 12px 0 0;
    }
    
    .date-picker-header button {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    #current-month-year {
        font-size: 18px;
    }
    
    .date-picker-calendar {
        padding: 16px;
        overflow: hidden;
    }
    
    .date-picker-tip {
        padding: 15px;
        margin-top: 12px;
    }
    
    .date-picker-tip small {
        font-size: 14px;
    }
    
    .weekdays {
        gap: 2px;
        margin-bottom: 8px;
    }
    
    .weekdays div {
        padding: 8px 2px;
        font-size: 12px;
        font-weight: 700;
    }
    
    .calendar-days {
        gap: 2px;
    }
    
    .calendar-day {
        min-height: 36px;
        max-height: 40px;
        font-size: 14px;
        padding: 8px 1px;
        border-radius: 6px;
    }
    
    .calendar-day.has-data::after {
        width: 6px;
        height: 6px;
        bottom: 3px;
    }
    
    .usage-date-selector button {
        padding: 12px 20px;
        font-size: 16px;
        border-radius: 6px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .custom-date-picker input[type="text"] {
        padding: 14px 52px 14px 18px;
        font-size: 16px;
        height: 50px;
    }
    
    #date-picker-btn {
        width: 42px;
        height: 42px;
        right: 4px;
        font-size: 22px;
        border-radius: 8px;
    }
    
    .date-picker-dropdown {
        left: -5px;
        right: -5px;
        width: calc(100% + 10px);
        margin-top: 6px;
        min-width: unset;
        max-width: unset;
    }
    
    .date-picker-header {
        padding: 14px 16px;
    }
    
    .date-picker-header button {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    
    #current-month-year {
        font-size: 15px;
    }
    
    .date-picker-calendar {
        padding: 12px;
        overflow: hidden;
    }
    
    .weekdays {
        gap: 1px;
        margin-bottom: 6px;
    }
    
    .weekdays div {
        padding: 6px 1px;
        font-size: 11px;
        border-radius: 3px;
    }
    
    .calendar-days {
        gap: 1px;
    }
    
    .calendar-day {
        min-height: 32px;
        max-height: 36px;
        font-size: 13px;
        padding: 6px 1px;
        border-radius: 4px;
    }
    
    .calendar-day.has-data::after {
        width: 5px;
        height: 5px;
        bottom: 2px;
    }
    
    .date-picker-tip {
        padding: 12px;
        margin-top: 8px;
    }
    
    .date-picker-tip small {
        font-size: 12px;
    }
}
