/* =============================================
   MAIN.CSS - Design System & Components
   ============================================= */

/* =============================================
   IMPORTS & RESET
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =============================================
   BASE STYLES
   ============================================= */
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e4e4e7;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* =============================================
   BACKGROUNDS & OVERLAYS
   ============================================= */
#threejs-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

#threejs-bg canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 8, 20, 0.35);
    background-image: none;
    z-index: -1;
}

/* =============================================
   LAYOUT SYSTEM - RESPONSIVE SCALING
   ============================================= */

/* Dynamic CSS variables for responsive scaling */
:root {
    --container-max-width: clamp(300px, 95vw, 1400px);
    --container-padding: clamp(0.5rem, 2vw, 2rem);
    --glass-card-padding: clamp(1rem, 3vw, 2.5rem);
    --glass-card-border-radius: clamp(12px, 2vw, 24px);
    --base-font-size: clamp(0.875rem, 1.2vw, 1rem);
}

/* Viewport-specific container optimizations */

/* 4K+ displays */
@media (min-width: 3840px) {
    :root {
        --container-max-width: 1600px;
        --container-padding: 3rem;
        --glass-card-padding: 3rem;
    }
}

/* 2K displays - Original target */
@media (min-width: 2560px) and (max-width: 3839px) {
    :root {
        --container-max-width: 1400px;
        --container-padding: 2rem;
        --glass-card-padding: 2.5rem;
    }
}

/* Standard FHD */
@media (min-width: 1920px) and (max-width: 2559px) {
    :root {
        --container-max-width: 1200px;
        --container-padding: 1.5rem;
        --glass-card-padding: 2rem;
    }
}

/* Laptop displays */
@media (min-width: 1366px) and (max-width: 1919px) {
    :root {
        --container-max-width: 1000px;
        --container-padding: 1.25rem;
        --glass-card-padding: 1.75rem;
    }
}

/* Small laptops */
@media (min-width: 1024px) and (max-width: 1365px) {
    :root {
        --container-max-width: 900px;
        --container-padding: 1rem;
        --glass-card-padding: 1.5rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    :root {
        --container-max-width: 95vw;
        --container-padding: 1rem;
        --glass-card-padding: 1.25rem;
    }
}

/* Mobile */
@media (max-width: 767px) {
    :root {
        --container-max-width: 100vw;
        --container-padding: 0.75rem;
        --glass-card-padding: 1rem;
        --glass-card-border-radius: 16px;
    }
}

.container {
    max-width: var(--container-max-width);
    margin: var(--container-padding) auto;
    padding: 0 var(--container-padding);
    position: relative;
    z-index: 1;
}

/* =============================================
   GLASS MORPHISM COMPONENTS
   ============================================= */
.glass-card {
    background: rgba(15, 15, 23, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--glass-card-border-radius);
    padding: var(--glass-card-padding);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: glassFadeIn 0.3s ease-out forwards;
}

.glass-card::before {
    content: none;
    display: none;
}

/* =============================================
   TYPOGRAPHY SYSTEM
   ============================================= */
.header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

img, .listing-img, .user-avatar, .profile-avatar img {
    user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}
img:focus, img:active,
.listing-img:focus, .listing-img:active,
.user-avatar:focus, .user-avatar:active,
.profile-avatar img:focus, .profile-avatar img:active {
    outline: none !important;
    box-shadow: none !important;
}

.typing-text {
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    font-weight: 700;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    color: #8b5cf6;
    margin-bottom: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    opacity: 0;
    transform: scale(0.95);
    animation: textEntranceTyping 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    text-align: center;
    letter-spacing: clamp(0.5px, 0.5vw, 1.5px);
    text-shadow: none;
    line-height: 1.2;
}

/* Additional responsive typography variables */
:root {
    --heading-size-xl: clamp(2rem, 5vw, 3.5rem);
    --heading-size-lg: clamp(1.5rem, 3.5vw, 2.5rem);
    --heading-size-md: clamp(1.25rem, 2.5vw, 2rem);
    --heading-size-sm: clamp(1rem, 2vw, 1.5rem);
    --text-size-base: clamp(0.875rem, 1.2vw, 1rem);
    --text-size-small: clamp(0.75rem, 1vw, 0.875rem);
}


@keyframes textEntranceTyping {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
        filter: blur(2px);
    }
    50% {
        opacity: 0.8;
        transform: scale(0.98) translateY(-5px);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* =============================================
   FORM SYSTEM
   ============================================= */
.form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e4e4e7;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    position: relative;
}

/* Input & Select Styles — never style checkbox/radio/file like text fields
   (that made admin Treasury labels smash and checkboxes sit above text). */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]),
select {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(30, 30, 46, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    color: #e4e4e7;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="image"]):not([type="range"]):not([type="color"]):focus,
select:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    transform: translateY(-2px);
}

input:not([type="checkbox"]):not([type="radio"])::placeholder {
    color: #64748b;
    font-style: italic;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    min-width: 1rem;
    height: auto;
    margin: 0.15rem 0.55rem 0 0;
    padding: 0;
    flex-shrink: 0;
    accent-color: #8b5cf6;
    transform: none;
    box-shadow: none;
    background: none;
    border: none;
    font-family: inherit;
}

/* =============================================
   SPECIALIZED BUTTON COMPONENTS
   ============================================= */
.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #8b5cf6;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.btn-small:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: translateY(-2px);
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid #8b5cf6;
    color: #8b5cf6;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    transform: scale(1.05);
}

/* =============================================
   LOADING COMPONENTS
   ============================================= */
.loading {
    display: none;
    text-align: center;
    padding: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top: 3px solid #8b5cf6;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

/* =============================================
   CARD COMPONENTS
   ============================================= */
.result-card {
    background: rgba(20, 20, 35, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.result-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #8b5cf6;
    animation: progressBar 2s ease-in-out;
}

.action-section {
    background: rgba(15, 15, 23, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1rem 0;
}

.action-section h3 {
    margin-bottom: 1rem;
    color: #e4e4e7;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.action-section h3::before {
    content: '>';
    color: #8b5cf6;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

/* =============================================
   DISPLAY COMPONENTS
   ============================================= */
.qr-container {
    text-align: center;
    margin: 1.5rem 0;
}

.qr-container img {
    border: 2px solid #8b5cf6;
    border-radius: 16px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.address-display {
    background: rgba(30, 30, 46, 0.8);
    padding: 1rem;
    border-radius: 12px;
    font-family: 'JetBrains Mono', monospace;
    word-break: break-all;
    margin: 1rem 0;
    border-left: 4px solid #8b5cf6;
    position: relative;
}

/* =============================================
   STATUS COMPONENTS
   ============================================= */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0;
}

.status-badge.pending {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge.completed {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    margin-right: 0.5rem;
    animation: pulse 2s infinite;
}

/* =============================================
   3D PENDING STATUS EFFECTS
   ============================================= */
.status-badge-3d-container {
    position: relative;
    margin: 1rem 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pending-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.status-badge.pending-3d {
    position: relative;
    z-index: 2;
    background: rgba(139, 92, 246, 0.28);
    border: 2px solid rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    animation: pendingFloat 3s ease-in-out infinite;
    color: #c4b5fd;
    font-weight: 600;
    letter-spacing: 1px;
    overflow: hidden;
}

.pending-text {
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(139, 92, 246, 0.5);
    animation: textShimmer 2s ease-in-out infinite alternate;
}

.pending-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.pending-particles::before,
.pending-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(139, 92, 246, 0.8);
    border-radius: 50%;
    animation: floatingParticle 4s linear infinite;
}

.pending-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    box-shadow: 0 0 6px rgba(139, 92, 246, 0.8);
}

.pending-particles::after {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    box-shadow: 0 0 6px rgba(167, 139, 250, 0.8);
}

@keyframes pendingFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
        box-shadow: 
            0 0 20px rgba(139, 92, 246, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: translateY(-5px) rotateX(2deg);
        box-shadow: 
            0 5px 25px rgba(139, 92, 246, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

@keyframes textShimmer {
    0% {
        text-shadow: 
            0 2px 4px rgba(139, 92, 246, 0.5),
            0 0 10px rgba(139, 92, 246, 0.3);
    }
    100% {
        text-shadow: 
            0 2px 4px rgba(139, 92, 246, 0.8),
            0 0 20px rgba(167, 139, 250, 0.6),
            0 0 30px rgba(196, 181, 253, 0.4);
    }
}

@keyframes floatingParticle {
    0% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) translateX(10px) scale(0.5);
        opacity: 0;
    }
}

/* =============================================
   UTILITY COMPONENTS
   ============================================= */
.button-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #8b5cf6;
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

/* =============================================
   SCROLLBAR STYLING
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 30, 46, 0.3);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.7);
}

/* =============================================
   SELECT & FILTER COMPONENTS
   ============================================= */
.filter-select {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #e4e4e7;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238b5cf6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.filter-select:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    color: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.filter-select:focus {
    outline: none;
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    color: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.filter-select:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

/* Select dropdown options styling */
.filter-select option {
    background: rgba(15, 15, 23, 0.95);
    color: #e4e4e7;
    padding: 0.5rem;
    border: none;
}

.filter-select option:hover {
    background: rgba(139, 92, 246, 0.2);
}

/* Price input styling to match design pattern */
.price-input {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #e4e4e7;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 100px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.price-input:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.price-input:focus {
    outline: none;
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.price-input::placeholder {
    color: #64748b;
    font-style: italic;
}

/* Search input styling to match design pattern */
.search-input {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #e4e4e7;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.search-input:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.search-input:focus {
    outline: none;
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.search-input::placeholder {
    color: #64748b;
    font-style: italic;
}

/* =============================================
   RESPONSIVE DESIGN - ENHANCED SYSTEM
   ============================================= */

/* Tablet Portrait (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .form-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .button-group {
        justify-content: center;
    }
    
    .filter-select, .price-input, .search-input {
        font-size: var(--text-size-small);
        padding: 0.6rem 1rem;
    }
    
    .filter-select {
        min-width: 120px;
        padding-right: 2.5rem;
    }
}

/* Mobile Landscape & Portrait (max-width: 767px) */
@media (max-width: 767px) {
    .form-section {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .button-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .filter-select {
        padding: 0.5rem 0.8rem;
        font-size: var(--text-size-small);
        min-width: 100px;
        padding-right: 2.2rem;
    }
    
    .price-input {
        padding: 0.5rem 0.8rem;
        font-size: var(--text-size-small);
        min-width: 80px;
    }
    
    .search-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .btn {
        padding: 0.7rem 1.25rem;
        font-size: var(--text-size-small);
        min-width: 120px;
    }
    
    .btn-small {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 80px;
    }
    
    .filter-select, .price-input, .search-input {
        font-size: 0.8rem;
        padding: 0.5rem 0.7rem;
    }
    
    .filter-select {
        padding-right: 2rem;
    }
    
    input, select {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }
}

/* =============================================
   BUTTON DESIGN SYSTEM - Unified Pattern
   ============================================= */

/* Standard Button - Used across all pages */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #e4e4e7;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    color: #e4e4e7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(139, 92, 246, 0.3);
}

/* Button variants for special cases */
.btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
    min-width: 200px;
}

.btn-full {
    width: 100%;
}

/* Clear Button - Red variant with same design pattern */
.clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    background: rgba(30, 30, 46, 0.6);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #ef4444;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
}

.clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.clear-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

/* Responsive button adjustments */
@media (max-width: 768px) {
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        min-width: 120px;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .clear-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
        min-width: 70px;
    }
}