/* Auth Module - Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Container adjustments */
    .auth-container {
        padding: 2rem 0;
    }
    
    .container {
        max-width: 90%;
    }
    
    /* Typography adjustments */
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 0.75rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    /* Card adjustments */
    .auth-card {
        margin-bottom: 2rem;
    }
    
    .registration-card .card-body {
        padding: 2.5rem;
    }
    
    .registration-card .card-title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .registration-icon {
        font-size: 3.5rem;
        margin-bottom: 1.25rem;
    }
    
    /* Form adjustments */
    .auth-form {
        padding: 2rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.75rem;
    }
    
    .section-header {
        font-size: 1.05rem;
        margin-bottom: 1.25rem;
    }
    
    /* Form controls */
    .form-control, .form-select {
        padding: 0.8rem 1rem;
        font-size: 1rem;
    }
    
    /* Button adjustments */
    .btn-auth {
        padding: 0.9rem 1.75rem;
        font-size: 1.05rem;
    }
    
    /* Grid adjustments for better tablet layout */
    .col-lg-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Feature list adjustments */
    .feature-list li {
        font-size: 0.95rem;
        padding: 0.45rem 0;
    }
    
    .feature-list i {
        font-size: 1.05rem;
        margin-right: 0.6rem;
    }
    
    /* Terms and conditions */
    .terms-check {
        margin: 1.75rem 0;
    }
    
    .terms-check .form-check-label {
        font-size: 0.95rem;
        line-height: 1.45;
    }
    
    /* Alert adjustments */
    .alert {
        padding: 0.9rem 1.25rem;
        margin-bottom: 1.25rem;
        font-size: 0.95rem;
    }
    
    /* Spacing adjustments */
    .mb-4 {
        margin-bottom: 1.75rem !important;
    }
    
    .mb-3 {
        margin-bottom: 1.25rem !important;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
}

/* Large tablets and small laptops (1025px to 1199px) */
@media (min-width: 1025px) and (max-width: 1199px) {
    .container {
        max-width: 95%;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    .section-subtitle {
        font-size: 1.15rem;
    }
    
    .registration-card .card-body {
        padding: 3rem;
    }
    
    .registration-card .card-title {
        font-size: 1.45rem;
    }
    
    .registration-icon {
        font-size: 3.75rem;
    }
    
    .auth-form {
        padding: 2.25rem;
    }
    
    .btn-auth {
        padding: 0.95rem 1.8rem;
        font-size: 1.08rem;
    }
}

/* Tablet-specific layout improvements */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Better spacing for registration cards */
    .user-type-selection .row {
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .user-type-selection .col-lg-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Improved form layout for tablets */
    .auth-form .row {
        margin-left: -0.75rem;
        margin-right: -0.75rem;
    }
    
    .auth-form .col-md-6 {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Better button spacing */
    .btn-back {
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Improved card hover effects for touch devices */
    .registration-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .registration-card:active {
        transform: translateY(-5px);
    }
}

/* Tablet landscape orientation */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .auth-container {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .registration-card .card-body {
        padding: 2rem;
    }
    
    .auth-form {
        padding: 1.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}
