/* Mobile-First Responsive Design */

/* Typography */
@media (max-width: 768px) {
    .display-1 { font-size: calc(1.8rem + 2vw); }
    .display-2 { font-size: calc(1.6rem + 1.8vw); }
    .display-3 { font-size: calc(1.4rem + 1.5vw); }
    .display-4 { font-size: calc(1.3rem + 1.2vw); }
    h1, .h1 { font-size: 1.75rem; }
    h2, .h2 { font-size: 1.5rem; }
    h3, .h3 { font-size: 1.3rem; }
}

/* Layout & Spacing */
@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* Cards & Components */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .table-responsive {
        margin-bottom: 1rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 1rem;
    }
}

/* Forms & Inputs */
@media (max-width: 768px) {
    .form-control, .form-select {
        height: 3rem;
        font-size: 16px !important;
        padding: 0.75rem 1rem;
    }
    
    .input-group {
        margin-bottom: 1rem;
    }
    
    .form-label {
        margin-bottom: 0.5rem;
    }
}

/* Buttons */
@media (max-width: 768px) {
    .btn {
        padding: 0.75rem 1.5rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        width: auto;
        margin-bottom: 0;
    }
}

/* Navigation */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-toggler {
        padding: 0.5rem;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }
    
    .dropdown-item {
        padding: 0.75rem 1rem;
    }
}

/* Account Dashboard */
@media (max-width: 768px) {
    .balance-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .transaction-list {
        margin-top: 1rem;
    }
    
    .transaction-item {
        padding: 1rem;
    }
}

/* Banking Features */
@media (max-width: 768px) {
    .feature-icon {
        width: 3rem;
        height: 3rem;
        margin-bottom: 1rem;
    }
    
    .feature-title {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
}

/* Account Forms */
@media (max-width: 768px) {
    .account-form {
        padding: 1.25rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
    }
    
    .form-section-title {
        margin-bottom: 1rem;
    }
}

/* Footer */
@media (max-width: 768px) {
    .footer {
        text-align: center;
        padding: 2rem 0;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Utilities */
@media (max-width: 768px) {
    .text-sm-center { text-align: center !important; }
    .mt-sm-3 { margin-top: 1rem !important; }
    .mb-sm-3 { margin-bottom: 1rem !important; }
    .p-sm-3 { padding: 1rem !important; }
}

/* Touch Interactions */
@media (hover: none) {
    .clickable {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .hover-effect {
        transition: none !important;
    }
}

/* Loading States */
@media (max-width: 768px) {
    .loading-indicator {
        margin: 1rem auto;
    }
    
    .skeleton-loader {
        margin-bottom: 0.75rem;
    }
}