/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Enhanced Container Styles */
.container-fluid {
    min-height: 100vh;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

/* Logo Responsive Styles */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-responsive {
    transition: all 0.3s ease;
    max-width: 450px !important;
    width: 100% !important;
    height: auto !important;
}

/* Responsive Typography */
.h1-md {
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    .h1-md {
        font-size: 3rem;
    }
}

/* Enhanced Progress Bar */
.progress-bar-container {
    position: relative;
}

.progress-bar-container::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-color: #e9ecef;
    z-index: 1;
}

@media (max-width: 576px) {
    .progress-bar-container::before {
        left: 10%;
        right: 10%;
    }
}

/* Header */
.header {
    margin-bottom: 2rem;
}

.header h1 {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.header p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .header h1 {
        font-size: 1.75rem;
    }
    
    .header p {
        font-size: 1rem;
    }
}

/* Enhanced Step Styles */
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background-color: #f8f9fa;
    padding: 0 0.5rem;
    text-align: center;
}

@media (min-width: 576px) {
    .step {
        padding: 0 1rem;
    }
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    text-align: center;
}

.step.active .step-number {
    background-color: #007bff;
    color: white;
}

.step.active .step-label {
    color: #007bff;
    font-weight: 600;
}

.step.completed .step-number {
    background-color: #28a745;
    color: white;
}

.step.completed .step-label {
    color: #28a745;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 600;
}

.card h3 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.card p {
    color: #6c757d;
    margin-bottom: 20px;
}

/* Forms */
.form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 0.95rem;
}

/* Enhanced Form Controls for Touch-Friendly Interface */
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    min-height: 48px; /* Touch-friendly minimum */
    touch-action: manipulation;
}

/* Enhanced mobile form controls */
@media (max-width: 768px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 18px 20px;
        min-height: 56px;
        font-size: 16px;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #6c757d;
    font-size: 0.85rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Enhanced Buttons for Touch-Friendly Interface */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    min-height: 48px; /* Touch-friendly minimum */
    line-height: 1.2;
    position: relative;
    touch-action: manipulation; /* Prevents double-tap zoom */
}

/* Enhanced touch targets for mobile */
@media (max-width: 768px) {
    .btn {
        padding: 16px 32px;
        min-height: 52px;
        font-size: 1.1rem;
        width: 100%;
        margin-bottom: 0.75rem;
        max-width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

@media (max-width: 480px) {
    .btn {
        padding: 18px 24px;
        min-height: 56px;
        font-size: 1.125rem;
        max-width: calc(100vw - 40px);
        margin-left: auto;
        margin-right: auto;
    }
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-1px);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    justify-content: flex-end;
    flex-wrap: wrap;
    max-width: 100%;
    box-sizing: border-box;
}

/* Mobile form actions improvements */
@media (max-width: 768px) {
    .form-actions {
        flex-direction: column;
        gap: 12px;
        justify-content: stretch;
        padding: 0 10px;
        margin-top: 25px;
    }
    
    .form-actions .btn {
        width: 100%;
        max-width: none;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .form-actions {
        padding: 0 5px;
        margin-top: 20px;
    }
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert li {
    margin-bottom: 5px;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

.alert-info h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

.alert-info p {
    margin: 0;
    font-size: 14px;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left-color: #ffc107;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left-color: #28a745;
}

/* Order Summary */
.order-summary {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.order-info {
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row .label {
    font-weight: 600;
    color: #495057;
}

.info-row .value {
    color: #6c757d;
}

/* Warranty Status */
.warranty-status {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-badge {
    padding: 10px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-valid {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-expired {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Priority notices for replacement and warranty */
.replacement-priority-notice,
.warranty-claim-notice {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    color: #856404;
}

.replacement-priority-notice small,
.warranty-claim-notice small {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Warranty notice for product-specific information */
.warranty-notice {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    color: #0056b3;
}

.warranty-notice small {
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Confirmation Page */
.success-icon {
    font-size: 4rem;
    color: #28a745;
    text-align: center;
    margin-bottom: 20px;
}

.ticket-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
}

.ticket-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: white;
    border-radius: 6px;
    margin-bottom: 20px;
    border: 2px solid #007bff;
}

.ticket-number .label {
    font-weight: 600;
    color: #495057;
}

.ticket-number .value {
    font-weight: 700;
    color: #007bff;
    font-size: 1.1rem;
    font-family: monospace;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-item .label {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.info-item .value {
    color: #6c757d;
}

/* Next Steps */
.next-steps {
    background-color: #e7f3ff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.next-steps h3 {
    color: #0056b3;
    margin-bottom: 15px;
}

.next-steps ol {
    padding-left: 20px;
    color: #495057;
}

.next-steps li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Footer */
.footer {
    margin-top: auto;
    text-align: center;
    padding: 20px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* Ticket Tracking Styles */
.ticket-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.ticket-number {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 4px solid #2196f3;
}

.ticket-number .label {
    font-weight: bold;
    color: #1976d2;
    margin-right: 10px;
}

/* Address formatting with 22-character line limit */
.address-formatted {
    max-width: 22ch; /* 22 characters width */
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word; /* Force breaking of long words */
    white-space: pre-wrap;
    line-height: 1.4;
    font-family: monospace; /* Use monospace for consistent character width */
    hyphens: auto;
    display: block;
}

.address-formatted.compact {
    font-size: 0.85rem;
    line-height: 1.3;
    max-width: 20ch; /* Slightly smaller for compact version */
}

/* Alternative approach using CSS Grid for precise character control */
.address-formatted-grid {
    display: grid;
    grid-template-columns: repeat(22, 1ch);
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.4;
}

.ticket-number .value {
    font-size: 18px;
    font-weight: bold;
    color: #1976d2;
    font-family: monospace;
}

.status-pending {
    color: #ff9800;
    font-weight: bold;
}

.status-in-progress {
    color: #2196f3;
    font-weight: bold;
}

.status-resolved {
    color: #4caf50;
    font-weight: bold;
}

.status-closed {
    color: #9e9e9e;
    font-weight: bold;
}

.status-rejected {
    color: #f44336;
    font-weight: bold;
}

.description-section,
.admin-notes-section {
    background: white;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    margin: 15px 0;
}

.description-section h4,
.admin-notes-section h4 {
    margin: 0 0 10px 0;
    color: #555;
    font-size: 16px;
}

.description-section p,
.admin-notes-section p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    transition: background-color 0.3s ease;
    margin: 5px;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

/* Enhanced Responsive Design */

/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 20px 15px;
    }
    
    .header h1 {
        font-size: 2.2rem;
    }
    
    .card {
        padding: 25px 20px;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .form-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 15px 10px;
        max-width: 100%;
    }
    
    .header {
        padding: 15px 0;
        margin-bottom: 25px;
    }
    
    .header h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    /* Progress bar adjustments */
    .progress-bar {
        margin-bottom: 30px;
        flex-wrap: wrap;
        gap: 15px 0;
    }
    
    .step {
        flex: 1;
        min-width: 80px;
        padding: 0 5px;
    }
    
    .step-label {
        font-size: 0.8rem;
        text-align: center;
        line-height: 1.2;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Card improvements */
    .card {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .card h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .card h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    /* Form enhancements */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
        margin-bottom: 0;
        min-height: 48px; /* Touch-friendly */
    }
    
    /* Info displays */
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px 0;
    }
    
    .info-row .label {
        font-weight: 600;
        margin-bottom: 2px;
    }
    
    .info-row .value {
        font-weight: 500;
        color: #495057;
    }
    
    .ticket-number {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 15px;
        text-align: left;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Status and warranty displays */
    .warranty-status {
        gap: 10px;
    }
    
    .status-badge {
        font-size: 0.9rem;
        padding: 10px 15px;
        text-align: center;
    }
    
    /* Order summary improvements */
    .order-summary {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    /* Customer info section */
    .customer-info-section {
        padding: 20px 15px;
        margin: 20px 0;
    }
    
    .customer-info .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 0;
    }
    
    .customer-info .label {
        min-width: auto;
        margin-bottom: 2px;
    }
    
    .customer-info .value {
        text-align: left;
        font-weight: 500;
    }
    
    .customer-edit-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .customer-edit-actions .btn {
        width: 100%;
    }
}

/* Mobile Landscape (640px and below) */
@media (max-width: 640px) {
    .container {
        padding: 12px 8px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .progress-bar {
        margin-bottom: 25px;
    }
    
    .step {
        padding: 0 3px;
    }
    
    .step-label {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .card {
        padding: 18px 12px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
    }
}

/* Mobile Portrait (480px and below) */
@media (max-width: 480px) {
    .container {
        padding: 10px 5px;
        min-height: 100vh;
    }
    
    .header {
        margin-bottom: 20px;
        padding: 10px 0;
    }
    
    .header h1 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .header p {
        font-size: 0.95rem;
    }
    
    .progress-bar {
        margin-bottom: 20px;
        gap: 10px 0;
    }
    
    .step {
        padding: 0 2px;
        min-width: 70px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .step-label {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .card {
        padding: 15px 10px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    .card h2 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    
    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .form-group {
        margin-bottom: 18px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
        border-radius: 6px;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        min-height: 44px;
        border-radius: 6px;
    }
    
    .success-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .ticket-info {
        padding: 15px 10px;
        margin: 15px 0;
    }
    
    .ticket-number {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .ticket-number .value {
        font-size: 16px;
    }
    
    /* Alert adjustments */
    .alert {
        padding: 12px 15px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }
    
    /* Order status section */
    .order-status-section {
        padding: 12px;
        margin-top: 15px;
    }
    
    .order-status-info .info-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 8px 0;
    }
    
    .order-status-info .label {
        min-width: auto;
        margin-bottom: 3px;
        font-size: 0.9rem;
    }
    
    .order-status-info .value {
        text-align: left;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (360px and below) */
@media (max-width: 360px) {
    .container {
        padding: 8px 3px;
    }
    
    .header h1 {
        font-size: 1.4rem;
    }
    
    .step {
        min-width: 60px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .card {
        padding: 12px 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
    
    .btn {
        padding: 10px 12px;
        min-height: 42px;
    }
}

/* Loading States */
.btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}

.btn.loading {
    position: relative;
    color: #495057 !important;
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
}

/* Remove the spinning animation when showing text */
.btn.loading::after {
    display: none;
}

/* Enhanced loading state for better visibility */
.btn.loading {
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile-specific loading button styles */
@media (max-width: 768px) {
    .btn.loading {
        font-size: 0.85rem;
        padding: 16px 20px;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .btn.loading {
        font-size: 0.8rem;
        padding: 18px 16px;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* File Upload Styling */
input[type="file"] {
    padding: 8px 12px !important;
    border: 2px dashed #e9ecef !important;
    background-color: #f8f9fa !important;
}

input[type="file"]:hover {
    border-color: #007bff !important;
    background-color: #e7f3ff !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for better accessibility */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        border: 2px solid #000;
    }
}

/* Troubleshooting Steps Styles */
.troubleshooting-steps {
    margin: 20px 0;
}

.troubleshooting-step {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.troubleshooting-step h4 {
    color: #495057;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content {
    line-height: 1.6;
    color: #6c757d;
}

.issue-category {
    color: #6c757d;
    margin-bottom: 20px;
    font-style: italic;
}

/* Resolution Check Styles - Enhanced for better UX */
.resolution-check {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 5px 0 10px 0;
    max-width: 100%;
}

.resolution-check h3 {
    color: #856404;
    margin: 0 0 12px 0;
    text-align: center;
    font-size: 1.1rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.radio-option {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    margin: 4px 0;
    min-height: auto;
}

.radio-option:hover {
    background: transparent;
}

.radio-option input[type="radio"] {
    margin: 0 8px 0 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    appearance: auto;
    -webkit-appearance: radio;
    -moz-appearance: radio;
    vertical-align: middle;
}

.radio-option input[type="radio"]:checked + .radio-label {
    font-weight: normal;
    color: #495057;
}

.radio-label {
    font-size: 0.9rem;
    color: #495057;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* Remove blue highlighting/outline */
.radio-option input[type="radio"]:focus {
    outline: none !important;
    box-shadow: none !important;
}

.radio-option:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Hand cursor for interactive elements */
select,
input[type="radio"],
input[type="checkbox"],
.radio-option,
.radio-label,
option {
    cursor: pointer !important;
}

/* Ensure dropdowns and their options show hand cursor */
select:hover,
select:focus,
option:hover {
    cursor: pointer !important;
}

/* Mobile address formatting improvements */
/* Fix shipping address alignment - right align on desktop, left on mobile */
#display-shipping-address {
    text-align: right;
    white-space: pre-line;
    line-height: 1.4;
}

@media (max-width: 768px) {
    #display-shipping-address {
        text-align: left !important;
        font-size: 0.9rem;
        line-height: 1.3 !important;
    }
}

    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-row .label {
        margin-bottom: 4px;
        font-weight: 600;
    }
    
    .info-row .value {
        width: 100%;
        text-align: left !important;
    }
    
    /* Show mobile address format (50 chars) on mobile */
    .desktop-address {
        display: none !important;
    }
    
    .mobile-address {
        display: block !important;
    }
}

/* Desktop address formatting */
@media (min-width: 769px) {
    /* Show desktop address format (22 chars) on desktop */
    .desktop-address {
        display: block !important;
    }
    
    .mobile-address {
        display: none !important;
    }
}

/* Issue Summary Styles */
.troubleshooting-summary {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.troubleshooting-summary h3 {
    color: #1565c0;
    margin: 0 0 15px 0;
}

.issue-info .info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.issue-info .label {
    font-weight: 600;
    color: #495057;
}

.issue-info .value {
    color: #1565c0;
    font-weight: 500;
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 20px;
}

.success-message p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 30px;
}

.next-steps {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.next-steps h3 {
    color: #495057;
    margin: 0 0 15px 0;
}

.next-steps ul {
    color: #6c757d;
    line-height: 1.6;
}

.next-steps li {
    margin-bottom: 8px;
}

/* Mobile Responsiveness for Troubleshooting */
@media (max-width: 768px) {
    .resolution-check {
        margin: 5px 0 8px 0;
        padding: 12px 16px;
    }
    
    .radio-group {
        gap: 0;
        max-width: 100%;
    }
    
    .radio-option {
        margin: 3px 0;
    }
    
    .radio-label {
        font-size: 0.9rem;
    }
    
    .troubleshooting-step {
        padding: 15px;
    }
    
    .issue-info .info-row {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .resolution-check {
        margin: 3px 0 6px 0;
        padding: 10px 12px;
    }
    
    .radio-group {
        max-width: 100%;
    }
    
    .radio-option {
        margin: 4px 0;
    }
    
    .radio-label {
        font-size: 0.95rem;
    }
}

/* Product Details Display */
.product-details {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    animation: fadeIn 0.3s ease-in;
}

.product-details h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.product-details .product-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-details .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.product-details .info-row:last-child {
    border-bottom: none;
}

.product-details .info-row .label {
    font-weight: 600;
    color: #495057;
    min-width: 100px;
}

.product-details .info-row .value {
    color: #6c757d;
    font-weight: 500;
    text-align: right;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced product select styling */
#selected_product {
    font-size: 14px;
    line-height: 1.4;
}

#selected_product option {
    padding: 8px;
    line-height: 1.4;
}

/* Responsive adjustments for product details */
@media (max-width: 768px) {
    .product-details .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .product-details .info-row .value {
        text-align: left;
        font-weight: 600;
        color: #495057;
    }
}
/* Customer Information Section */
.customer-info-section {
    margin: 30px 0;
    padding: 25px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.customer-info-section h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.customer-info {
    margin-bottom: 20px;
}

.customer-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f8f9fa;
}

.customer-info .info-row:last-child {
    border-bottom: none;
}

.customer-info .label {
    font-weight: 600;
    color: #495057;
    min-width: 140px;
    flex-shrink: 0;
}

.customer-info .value {
    color: #212529;
    flex: 1;
    text-align: right;
    word-break: break-word;
    
}
/* Ensure shipping address follows same alignment pattern as other fields */
.customer-info .info-row .value {
    text-align: right;
}

/* Override only for mobile */
@media (max-width: 768px) {
    .customer-info .info-row .value {
        text-align: left;
    }
}


.customer-info-actions {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.info-confirmation {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.customer-info-edit {
    margin-top: 20px;
}

.customer-info-edit .form-group {
    margin-bottom: 20px;
}

.customer-info-edit label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.customer-info-edit input,
.customer-info-edit textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.customer-info-edit input:focus,
.customer-info-edit textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,.25);
}

.customer-info-edit textarea {
    resize: vertical;
    min-height: 80px;
}

.customer-edit-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.confirmation-text {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Button enhancements for customer info */
.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
    border-radius: 4px;
}

/* Responsive adjustments for customer info */
@media (max-width: 768px) {
    .customer-info .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .customer-info .label {
        min-width: auto;
    }
    
    .customer-info .value {
        text-align: left;
    }
    
    .customer-edit-actions {
        flex-direction: column;
    }
    
    .customer-edit-actions .btn {
        width: 100%;
    }
}

/* Order Status Section Styles */
.order-status-section {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #007bff;
}

.order-status-section h4 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.order-status-info .info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.order-status-info .info-item:last-child {
    border-bottom: none;
}

.order-status-info .label {
    font-weight: 600;
    color: #495057;
    min-width: 140px;
    flex-shrink: 0;
}

.order-status-info .value {
    color: #6c757d;
    text-align: right;
    flex-grow: 1;
    word-break: break-word;
}

/* Order Status Badges */
.value.order-status-new {
    color: #007bff;
    font-weight: 600;
}

.value.order-status-processing {
    color: #fd7e14;
    font-weight: 600;
}

.value.order-status-shipped {
    color: #20c997;
    font-weight: 600;
}

.value.order-status-delivered {
    color: #28a745;
    font-weight: 600;
}

.value.order-status-cancelled {
    color: #dc3545;
    font-weight: 600;
}

.value.order-status-returned {
    color: #6f42c1;
    font-weight: 600;
}

.value.order-status-refunded {
    color: #e83e8c;
    font-weight: 600;
}

.value.order-status-on-hold {
    color: #ffc107;
    font-weight: 600;
}

.value.order-status-pending-payment {
    color: #fd7e14;
    font-weight: 600;
}

.value.order-status-partially-shipped {
    color: #17a2b8;
    font-weight: 600;
}

.value.order-status-ready-to-ship {
    color: #20c997;
    font-weight: 600;
}

.value.order-status-awaiting-stock {
    color: #6c757d;
    font-weight: 600;
}

.value.order-status-unknown-status {
    color: #6c757d;
    font-weight: 600;
}

/* Tracking Number Styling */
.tracking-number {
    font-family: 'Courier New', monospace;
    background-color: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    color: #495057 !important;
}

/* Responsive Design for Order Status */
@media (max-width: 768px) {
    .order-status-info .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-status-info .label {
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .order-status-info .value {
        text-align: left;
    }
}


/* Platform-specific styling for Amazon/Flipkart required fields */
.platform-required .platform-required-field {
    border-left: 3px solid #dc3545;
}

.platform-required .platform-required-field:focus {
    border-left-color: #007bff;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.missing-required .label {
    color: #dc3545;
    font-weight: 600;
}

.missing-required .value {
    color: #6c757d !important;
    font-style: italic !important;
}

.customer-info-section .alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.customer-info-section .alert-info {
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.form-error {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    padding: 12px !important;
    border-radius: 6px !important;
    border: 1px solid #f5c6cb !important;
    margin-bottom: 20px !important;
    font-size: 0.9rem !important;
}

/* Enhanced required field indicators */
.platform-required label span[style*="color: #dc3545"] {
    font-weight: bold;
    margin-left: 2px;
}

/* Customer info section enhancements */
.customer-info-section h3 span {
    display: block;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .customer-info-section h3 span {
        font-size: 0.75em;
    }
    
    .platform-required .platform-required-field {
        border-left-width: 2px;
    }
}


/* File Upload Styles */
.file-upload-container {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.file-upload-container:hover {
    border-color: #007bff;
    background-color: #e3f2fd;
}

.file-upload-container.dragover {
    border-color: #007bff;
    background-color: #e3f2fd;
    transform: scale(1.02);
}

.file-upload-container input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.upload-requirements {
    margin-top: 15px;
    text-align: left;
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
}

.upload-requirements ul {
    margin: 10px 0 0 20px;
    color: #856404;
}

.upload-requirements li {
    margin-bottom: 5px;
}

.file-preview {
    margin-top: 20px;
    text-align: left;
    background-color: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 4px;
    padding: 15px;
}

.file-preview h4 {
    color: #0c5460;
    margin-bottom: 10px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #bee5eb;
}

.file-item:last-child {
    border-bottom: none;
}

.file-info {
    flex: 1;
}

.file-name {
    font-weight: 500;
    color: #0c5460;
}

.file-size {
    font-size: 0.9em;
    color: #6c757d;
}

.file-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 0.8em;
}

.file-remove:hover {
    background: #c82333;
}

.upload-progress {
    margin-top: 20px;
    text-align: left;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #0056b3);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 10px;
}

.progress-text {
    font-size: 0.9em;
    color: #6c757d;
    text-align: center;
}

.file-upload-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

.file-upload-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

/* File type icons */
.file-item::before {
    content: "📄";
    margin-right: 8px;
}

.file-item.image::before {
    content: "🖼️";
}

.file-item.video::before {
    content: "🎥";
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .file-upload-container {
        padding: 15px;
    }
    
    .upload-requirements {
        padding: 10px;
    }
    
    .file-preview {
        padding: 10px;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}


/* Multi-Product Selection Styles */
.product-selection-container {
    margin-top: 15px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.product-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.product-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    transform: translateY(-2px);
}

.product-card.selected {
    border-color: #007bff;
    background-color: #f8f9ff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.product-checkbox-container {
    position: relative;
}

.product-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.product-checkbox-label {
    cursor: pointer;
    display: block;
}

.checkbox-custom {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid #dee2e6;
    border-radius: 4px;
    background-color: white;
    position: relative;
    transition: all 0.3s ease;
}

.product-checkbox:checked + .product-checkbox-label .checkbox-custom {
    background-color: #007bff;
    border-color: #007bff;
}

.product-checkbox:checked + .product-checkbox-label .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.product-checkbox:focus + .product-checkbox-label .checkbox-custom {
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.product-info {
    margin-bottom: 15px;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    font-size: 0.9rem;
}

.detail-label {
    font-weight: 500;
    color: #6c757d;
    min-width: 80px;
}

.detail-value {
    color: #495057;
    text-align: right;
    flex: 1;
}

.quantity-controls {
    border-top: 1px solid #e9ecef;
    padding-top: 15px;
    margin-top: 15px;
}

.quantity-label {
    display: block;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.quantity-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    background: #f8f9fa;
    border: none;
    padding: 10px 15px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 45px;
}

.quantity-btn:hover {
    background: #e9ecef;
    color: #007bff;
}

.quantity-btn:active {
    background: #dee2e6;
}

.quantity-btn:disabled {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
}

.quantity-input {
    border: none;
    padding: 10px 8px;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #495057;
    width: 60px;
    background: white;
}

.quantity-input:focus {
    outline: none;
    background: #f8f9ff;
}

/* Selection Summary */
.selection-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.selection-summary h4 {
    color: #495057;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.selected-products-list {
    margin-bottom: 15px;
}

.selected-product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    margin-bottom: 8px;
}

.selected-product-info {
    flex: 1;
}

.selected-product-name {
    font-weight: 600;
    color: #495057;
    font-size: 0.9rem;
}

.selected-product-details {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 2px;
}

.selected-product-quantity {
    font-weight: 600;
    color: #007bff;
    font-size: 0.9rem;
    min-width: 60px;
    text-align: right;
}

.selection-total {
    text-align: center;
    padding: 10px;
    background: white;
    border-radius: 6px;
    border: 2px solid #007bff;
    color: #007bff;
}

/* Warranty Details Container */
.warranty-details-container {
    display: grid;
    gap: 15px;
}

.warranty-product-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.warranty-product-header {
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.warranty-status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.warranty-status.valid {
    color: #28a745;
}

.warranty-status.expired {
    color: #dc3545;
}

.warranty-status.loading {
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 15px;
    }
    
    .product-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    
    .detail-value {
        text-align: left;
    }
    
    .quantity-input-group {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .selected-product-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .selected-product-quantity {
        text-align: left;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .product-card {
        padding: 12px;
    }
    
    .product-name {
        font-size: 1rem;
    }
    
    .quantity-btn {
        padding: 8px 12px;
        min-width: 40px;
    }
    
    .quantity-input {
        width: 50px;
        padding: 8px 6px;
    }
}

/* Animation for smooth transitions */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner animation for form submission */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.quantity-controls {
    animation: slideIn 0.3s ease;
}

.selection-summary {
    animation: slideIn 0.3s ease;
}

/* ENHANCED Fix for duplicate search boxes in issue type dropdown */
/* Target all input fields with "Search issue" placeholder text */
input[placeholder*="Search issue"] {
    display: none !important;
}

/* Target input fields with "Search issue types" placeholder specifically */
input[placeholder="Search issue types..."] {
    display: none !important;
}

/* Hide any search inputs near the issue type dropdown */
#issue_type_id + input[type="text"],
#issue_type_id + .search-input,
.form-group input[type="text"][placeholder*="Search"],
.form-group input[type="text"][placeholder*="issue"] {
    display: none !important;
}

/* Hide any input elements that appear before the select dropdown */
.form-group select + input,
.form-group input + select + input,
.form-group input[type="text"] + input[type="text"] {
    display: none !important;
}

/* Target any dynamically generated search inputs */
.form-group input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([name*="product"]):not([name*="quantity"]):not([name="order_number"]):not([name="ticket_number"]):not([name*="edit_"]):not([name="customer_email"]):not([name="issue_description"]):not(.quantity-input) {
    display: none !important;
}

/* Ensure quantity inputs are always visible */
.quantity-input,
input[name*="quantity"],
input[class*="quantity"] {
    display: block !important;
}

/* Ensure the select dropdown is properly styled and visible */
#issue_type_id {
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
}

/* Make sure the form group containing issue type is clean */
.form-group:has(#issue_type_id) input[type="text"] {
    display: none !important;
}

/* Focus styles for accessibility */
.product-card:focus-within {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.quantity-btn:focus {
    outline: 2px solid #007bff;
    outline-offset: 1px;
}

.quantity-input:focus {
    outline: 2px solid #007bff;
    outline-offset: 1px;
}

/* DISABLE FLOATING ACTION BUTTON - Fix for circular arrow button issue */
.floating-action-button {
    display: none !important;
    visibility: hidden !important;
}

/* DISABLE BOTTOM NAVIGATION - Fix for mobile navigation issues */
.bottom-navigation {
    display: none !important;
    visibility: hidden !important;
}

/* Ensure original buttons remain visible on mobile */
@media (max-width: 768px) {
    .btn-primary[type="submit"],
    .btn-secondary {
        display: block !important;
        visibility: visible !important;
    }
    
    /* Remove any padding added by bottom navigation */
    body {
        padding-bottom: 0 !important;
    }
}

/* Fix for button overflow on very small screens */
@media (max-width: 360px) {
    .btn {
        font-size: 1rem;
        padding: 16px 20px;
        min-height: 50px;
    }
    
    .form-actions {
        padding: 0 2px;
    }
}
