/* ============================================
   TAXPAYER PORTAL - MODERN STYLES
   ============================================ */

/* Portal Container */
.portal-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    padding: 20px 0;
}

.portal-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ensure portal pages in boosted-home layout work correctly */
.boosted-home .boosted-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
}

.boosted-home {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Portal Header */
.portal-header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.portal-header-logo img {
    height: 60px;
    width: auto;
}

.portal-header-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.portal-back-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.portal-back-btn:hover {
    background: #0f1116;
    color: white;
    border-color: #0f1116;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 17, 22, 0.4);
}

/* Portal Card */
.portal-card {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Step Progress */
.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e2e8f0;
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #a0aec0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
}

.step-item.active .step-circle {
    background: #0f1116;
    color: white;
    box-shadow: 0 4px 12px rgba(15, 17, 22, 0.4);
}

.step-item.completed .step-circle {
    background: #48bb78;
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    text-align: center;
}

.step-item.active .step-label {
    color: #0f1116;
}

/* Process Icon Section */
.process-icon-section {
    text-align: center;
    margin-bottom: 40px;
}

.process-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(15, 17, 22, 0.4);
}

.process-icon i {
    font-size: 60px;
    color: white;
}

.process-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
}

.process-description {
    font-size: 16px;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Search Section */
.search-section {
    margin-bottom: 40px;
}

.search-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-section-title i {
    color: #0f1116;
}

.search-input-group {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.search-input-group input,
.search-input-group .z-textbox {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-input-group input:focus,
.search-input-group .z-textbox:focus {
    border-color: #0f1116;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 17, 22, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 17, 22, 0.5);
}

.search-btn i {
    font-size: 18px;
}

/* Info Card */
.info-card {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.info-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-card-icon i {
    font-size: 24px;
    color: white;
}

.info-card-title {
    font-size: 22px;
    font-weight: 600;
    color: #2d3748;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* Form Section */
.form-section {
    margin-bottom: 30px;
}

.form-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-section-title i {
    color: #0f1116;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
}

.form-field input,
.form-field select,
.form-field .z-textbox,
.form-field .z-combobox {
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-field input:focus,
.form-field select:focus,
.form-field .z-textbox:focus,
.form-field .z-combobox:focus {
    border-color: #0f1116;
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 17, 22, 0.1);
}

/* Financial Summary */
.financial-summary {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    border-radius: 15px;
    padding: 30px;
    color: white;
    margin-bottom: 30px;
}

.financial-summary-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.financial-label {
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
}

.financial-value {
    font-size: 18px;
    font-weight: 700;
}

.financial-item.total {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
    border: none;
}

.financial-item.total .financial-label {
    font-size: 18px;
}

.financial-item.total .financial-value {
    font-size: 28px;
}

/* Action Buttons */
.portal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.portal-btn {
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.portal-btn-primary {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(15, 17, 22, 0.4);
}

.portal-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(15, 17, 22, 0.5);
}

.portal-btn-secondary {
    background: white;
    color: #0f1116;
    border: 2px solid #0f1116;
}

.portal-btn-secondary:hover {
    background: #0f1116;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(15, 17, 22, 0.3);
}

.portal-btn i {
    font-size: 18px;
}

/* Success Message */
.success-message {
    background: #c6f6d5;
    border: 2px solid #48bb78;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-message i {
    font-size: 24px;
    color: #48bb78;
}

.success-message-text {
    font-size: 16px;
    color: #22543d;
    font-weight: 600;
}

/* Alert Box */
.alert-box {
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: start;
    gap: 15px;
}

.alert-box.info {
    background: #bee3f8;
    border: 2px solid #0f1116;
}

.alert-box.warning {
    background: #feebc8;
    border: 2px solid #ed8936;
}

.alert-box i {
    font-size: 22px;
    margin-top: 2px;
}

.alert-box.info i {
    color: #1a1d24;
}

.alert-box.warning i {
    color: #c05621;
}

.alert-box-content {
    flex: 1;
}

.alert-box-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.alert-box.info .alert-box-title {
    color: #1a1d24;
}

.alert-box.warning .alert-box-title {
    color: #c05621;
}

.alert-box-text {
    font-size: 14px;
    line-height: 1.6;
}

.alert-box.info .alert-box-text {
    color: #2a4365;
}

.alert-box.warning .alert-box-text {
    color: #7c2d12;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.feature-item {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s;
}

.feature-item:hover {
    border-color: #0f1116;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(15, 17, 22, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon i {
    font-size: 30px;
    color: white;
}

.feature-icon svg {
    color: #ffffff;
    stroke-width: 2.5;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
}

.feature-description {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
}

/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-badge.success {
    background: #c6f6d5;
    color: #22543d;
}

.status-badge.warning {
    background: #feebc8;
    color: #7c2d12;
}

.status-badge.info {
    background: #bee3f8;
    color: #1a1d24;
}

/* Divider */
.portal-divider {
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 40px 0;
}

/* NNI Display */
.nni-display {
    background: white;
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.nni-display-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.nni-photo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    border: 3px solid #667eea;
}

.nni-info {
    flex: 1;
}

.nni-name {
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.nni-tin {
    font-size: 14px;
    color: #718096;
}

/* Payment Details */
.payment-details {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.payment-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
}

.payment-header-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.payment-number {
    font-size: 18px;
    font-weight: 600;
    opacity: 0.9;
}

.payment-body {
    padding: 30px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-row-label {
    font-size: 15px;
    color: #718096;
}

.payment-row-value {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

.payment-row.highlight {
    background: #f7fafc;
    border-radius: 10px;
    padding: 20px;
    margin: 10px -10px;
    border: none;
}

.payment-row.highlight .payment-row-value {
    font-size: 24px;
    color: #0f1116;
}

/* Responsive */
@media (max-width: 768px) {
    .portal-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .search-input-group {
        flex-direction: column;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .step-progress {
        flex-direction: column;
        gap: 20px;
    }

    .step-progress::before {
        display: none;
    }

    .portal-actions {
        flex-direction: column;
    }

    .portal-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Loading State */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 64px;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 22px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
}

.empty-state-text {
    font-size: 16px;
    color: #718096;
}

/* ============================================
   HOME PAGE ENHANCEMENTS
   ============================================ */

/* Enhanced Home Page Cards */
.home-page-card {
    background: white;
    border-radius: 20px;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
}

.home-page-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.home-page-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(15, 17, 22, 0.25);
}

.home-page-card:hover::before {
    transform: scaleX(1);
}

.home-page-card-content {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.home-page-card-icon {
    font-size: 64px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.home-page-card:hover .home-page-card-icon {
    animation: iconPulse 0.6s ease;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.home-page-card-title {
    font-size: 24px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    transition: color 0.3s;
}

.home-page-card:hover .home-page-card-title {
    color: #0f1116;
}

.home-page-card-description {
    font-size: 15px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

.home-page-button {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.home-page-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s;
}

.home-page-button:hover::before {
    left: 100%;
}

.home-page-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(15, 17, 22, 0.4);
}

/* Enhanced Home Page Actions Grid */
.home-page-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
}

/* Home Page Welcome Section Enhancement */
.home-page-welcome {
    text-align: center;
    margin-bottom: 50px;
}

.home-page-title {
    font-size: 36px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.3;
}

.home-page-subtitle {
    font-size: 18px;
    color: #718096;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Card Specific Colors */
.home-page-card:nth-child(1) .home-page-card-icon {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-page-card:nth-child(2) .home-page-card-icon {
    background: linear-gradient(135deg, #1a1d24 0%, #1a1d24 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-page-card:nth-child(3) .home-page-card-icon {
    background: linear-gradient(135deg, #0f1116 0%, #0f1116 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-page-card:nth-child(1)::before {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
}

.home-page-card:nth-child(2)::before {
    background: linear-gradient(135deg, #1a1d24 0%, #1a1d24 100%);
}

.home-page-card:nth-child(3)::before {
    background: linear-gradient(135deg, #0f1116 0%, #0f1116 100%);
}

.home-page-card:nth-child(1) .home-page-button {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
}

.home-page-card:nth-child(2) .home-page-button {
    background: linear-gradient(135deg, #1a1d24 0%, #1a1d24 100%);
}

.home-page-card:nth-child(3) .home-page-button {
    background: linear-gradient(135deg, #0f1116 0%, #0f1116 100%);
}

/* ============================================
   COMPACT BUTTON-STYLE CATEGORY SELECTION
   ============================================ */

/* Category Selection Section */
.category-selection-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%);
    border-radius: 2px;
}

.category-container {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.category-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

/* Category Button */
.category-button {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.category-button label {
    font-weight: 500;
    font-size: 14px;
    color: #4a5568;
    cursor: pointer;
    margin: 0;
    display: block;
    line-height: 1.3;
}

/* Hover State */
.category-button:hover {
    border-color: #0f1116;
    background: #ebf8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 17, 22, 0.15);
}

.category-button:hover label {
    color: #0f1116;
}

/* Selected State - Background color change */
.category-button.selected,
.category-button.selected.z-div {
    background: linear-gradient(135deg, #0f1116 0%, #1a1d24 100%) !important;
    border-color: #0f1116 !important;
    box-shadow: 0 4px 15px rgba(15, 17, 22, 0.3) !important;
}

.category-button.selected label,
.category-button.selected.z-div label,
.category-button.selected .z-label,
.category-button.selected.z-div .z-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* Icons for different categories */
.category-button label::before {
    content: '';
    display: block;
    font-size: 28px;
    line-height: 1;
}

.category-button.selected label::before,
.category-button.selected.z-div label::before,
.category-button.selected .z-label::before,
.category-button.selected.z-div .z-label::before {
    filter: brightness(0) invert(1) !important;
}

/* Individual category icon */
.category-options .category-button:nth-child(1) label::before {
    content: '👤';
}

/* Company category icon */
.category-options .category-button:nth-child(2) label::before {
    content: '🏢';
}

/* Declaration type icons (when 3 options) */
.category-options .category-button:nth-child(3) label::before {
    content: '🐄';
}

/* Focus state for accessibility */
.category-button:focus-within {
    outline: 2px solid rgba(15, 17, 22, 0.5);
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-options {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .category-container {
        padding: 12px;
    }
    
    .category-button {
        padding: 14px 16px;
        min-height: 65px;
    }
    
    .category-button label {
        font-size: 14px;
    }
    
    .category-button label::before {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 16px !important;
        margin-bottom: 12px;
    }
    
    /* NNI search section responsive */
    .nni-search-section {
        padding: 15px;
    }
    
    .nni-search-container {
        margin-top: 10px;
    }
    
    /* User info section responsive */
    .user-info-section {
        padding: 15px;
    }
    
    /* Required info section responsive */
    .required-info-section {
        padding: 15px;
    }
    
    /* Form groups stack better */
    .form-group {
        margin-bottom: 15px;
    }
    
    /* Better touch targets for buttons */
    .btn-search,
    .btn-clear {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Combobox and textbox better on mobile */
    .z-combobox,
    .z-textbox {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 14px;
    }
    
    /* Form label spacing */
    .form-label {
        margin-bottom: 8px;
        font-size: 14px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .category-button {
        padding: 12px 14px;
        min-height: 60px;
    }
    
    .category-button label {
        font-size: 13px;
    }
    
    .category-button label::before {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 14px !important;
    }
    
    .nni-search-section,
    .user-info-section,
    .required-info-section {
        padding: 12px;
    }
    
    .form-group {
        margin-bottom: 12px;
    }
    
    .btn-search,
    .btn-clear {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Responsive adjustments for home page */
@media (max-width: 768px) {
    .home-page-actions {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .home-page-title {
        font-size: 28px;
    }

    .home-page-subtitle {
        font-size: 16px;
    }

    .home-page-card-icon {
        font-size: 48px;
    }
}

