:root {
            --primary-color: #0066cc;
            --secondary-color: #004a99;
            --accent-color: #00a3e0;
            --success-color: #28a745;
            --danger-color: #dc3545;
            --light-bg: #f8f9fa;
            --border-color: #dee2e6;
            --dot-bg: #f8f9fa;
            --dot-color: rgba(192, 192, 192, 0.85);
            --dot-size: 1px;
            --dot-space: 22px;
        }

        * {
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: var(--light-bg);
            min-height: 100vh;
        }
        .dotted-background {
            background:
		linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
		linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
		var(--dot-color);
        }

        .invisible {
            display: none !important;
        }

        /* Sidebar Styles */
        .sidebar {
            /*background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);*/
            color: white;
            padding: 40px 60px;
            min-height: 100vh;
            position: fixed;
            top: 0;
            left: 0;
            width: 30%;
            overflow: hidden;
            /*animation: gradientShift 15s ease infinite;*/
            background-size: 200% 200%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background-color: #0e2a63;
        }

        .sidebar-content {
            width: 100%;
            z-index: 10;
        }

        .sidebar::before{
            content:"";
            position:absolute;
            z-index: 1;
            inset:-40%;
            background-color: #0e2a63;
            background:
                radial-gradient(60% 60% at 20% 20%,
                    rgba(102, 170, 255, 0.35) 0%,
                    rgba(46, 125, 230, 0.30) 35%,
                    rgba( 10,  42, 106, 0.00) 70%),
                radial-gradient(50% 50% at 80% 80%,
                    rgba(102, 170, 255, 0.28) 0%,
                    rgba(46, 125, 230, 0.24) 30%,
                    rgba(  5,  28,  74, 0.00) 70%);
            filter: blur(20px); animation: floaty 18s linear infinite;
        }
        @keyframes floaty{
            0%{transform:translate3d(-10%, -10%,0) rotate(0deg);} 50%{transform:translate3d(10%, 5%,0) rotate(180deg);} 100%{transform:translate3d(-10%, -10%,0) rotate(360deg);} 
        }

        @media only screen and (max-width: 768px) {
            /* CSS rules for tablets and smaller devices */
            .main-content-wrapper {
                min-width: 150px !important;
            }
        }

        /* For modern browsers (Chrome, Firefox, Opera, Safari) */
        .form-control::placeholder {
        color: #d3d3d3; /* Red color example */
        opacity: 1; /* Ensures full opacity, as Firefox might set a lower default */
        }

        /* For Internet Explorer 10-11 */
        .form-control:-ms-input-placeholder {
        color: #d3d3d3;
        }

        /* For Microsoft Edge */
        .form-control::-ms-input-placeholder {
        color: #d3d3d3;
        }

        .sidebar h1 {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .sidebar .subtitle {
            font-size: 0.95rem;
            opacity: 0.9;
            margin-bottom: 30px;
        }

        .sidebar .company-info {
            margin-bottom: 30px;
            padding-bottom: 30px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .sidebar .company-info p {
            margin: 5px 0;
            font-size: 0.9rem;
        }

        .sidebar .how-to {
            background: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            padding: 20px;
            margin-top: 30px;
        }

        .sidebar .how-to h3 {
            font-size: 1.1rem;
            margin-bottom: 15px;
        }

        .sidebar .how-to ol {
            padding-left: 20px;
            font-size: 0.9rem;
            line-height: 1.8;
        }

        /* Main Content */
        .main-content {
            margin-left: 30%;
            padding: 40px 100px;
            width: 70%;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .main-content-wrapper {
                max-width: 800px;
                min-width: 750px;
        }

        /* Form Container */
        .form-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
            padding: 40px;
            max-width: 900px;
            margin: 0 auto;
        }

        /* Progress Bar */
        .progress-container {
            margin-bottom: 40px;
        }

        .progress {
            height: 8px;
            background-color: #e9ecef;
        }

        .progress-bar {
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
            transition: width 0.4s ease;
        }

        .step-indicators {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
        }

        .step-indicator {
            flex: 1;
            text-align: center;
            position: relative;
        }

        .step-indicator .step-circle {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #e9ecef;
            color: #6c757d;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .step-indicator.active .step-circle {
            background: var(--primary-color);
            color: white;
        }

        .step-indicator.completed .step-circle {
            background: var(--success-color);
            color: white;
        }

        .step-indicator .step-label {
            display: block;
            margin-top: 8px;
            font-size: 0.85rem;
            color: #6c757d;
        }

        .step-indicator.active .step-label {
            color: var(--primary-color);
            font-weight: 600;
        }

        /* Form Steps */
        .form-step {
            display: none;
        }

        .form-step.active {
            display: block;
            animation: fadeIn 0.4s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .step-header {
            margin-bottom: 30px;
        }

        .step-header h2 {
            color: var(--primary-color);
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .step-header p {
            color: #6c757d;
            font-size: 1rem;
            line-height: 1.6;
        }

        /* Form Controls */
        .form-label {
            font-weight: 500;
            color: #333;
            margin-bottom: 8px;
        }

        .form-label .required {
            color: var(--danger-color);
            margin-left: 3px;
        }

        .form-control, .form-select {
            border-radius: 6px;
            border: 1px solid var(--border-color);
            padding: 10px 15px;
            font-size: 0.95rem;
            transition: border-color 0.2s ease, box-shadow 0.2s ease;
        }

        .form-control:focus, .form-select:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
        }

        .is-invalid {
            border-color: var(--danger-color);
        }

        .invalid-feedback {
            display: none;
            color: var(--danger-color);
            font-size: 0.875rem;
            margin-top: 5px;
        }

        .is-invalid ~ .invalid-feedback {
            display: block;
        }

        .text-muted {
            color: #6c757d !important;
            font-size: 0.875rem;
        }

        /* Buttons */
        .btn {
            border-radius: 6px;
            padding: 12px 30px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-primary {
            background: var(--primary-color);
            border: none;
        }

        .btn-primary:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
        }

        .btn-outline-primary {
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
        }

        .btn-outline-primary:hover {
            background: var(--primary-color);
            color: white;
        }

        .btn-success {
            background: var(--success-color);
            border: none;
        }

        .form-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 40px;
            padding-top: 30px;
            border-top: 1px solid var(--border-color);
        }

        /* RMA Entry Card */
        .rma-entry {
            border: 2px solid var(--border-color);
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 20px;
            position: relative;
            transition: border-color 0.3s ease;
        }

        .rma-entry:hover {
            border-color: var(--primary-color);
        }

        .rma-entry-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .rma-entry-title {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-color);
        }

        .btn-remove-entry {
            color: var(--danger-color);
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px 10px;
        }

        .btn-remove-entry:hover {
            color: #bd2130;
        }

        .btn-add-entry {
            width: 100%;
            border: 2px dashed var(--primary-color);
            color: var(--primary-color);
            background: white;
            padding: 15px;
            margin-top: 20px;
        }

        .btn-add-entry:hover {
            background: rgba(0, 102, 204, 0.05);
        }

        /* Address Toggle */
        .address-toggle {
            margin-bottom: 20px;
        }

        .address-fields {
            display: none;
            margin-top: 20px;
            padding: 20px;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .address-fields.show {
            display: block;
        }

        /* Image Upload */
        .image-upload-area {
            border: 2px dashed var(--border-color);
            border-radius: 8px;
            padding: 30px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .image-upload-area:hover {
            border-color: var(--primary-color);
            background: rgba(0, 102, 204, 0.05);
        }

        .image-preview-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }

        .image-preview {
            position: relative;
            width: 100px;
            height: 100px;
            border-radius: 6px;
            overflow: hidden;
        }

        .image-preview img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .image-preview .remove-image {
            position: absolute;
            top: 5px;
            right: 5px;
            background: var(--danger-color);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            font-size: 12px;
            cursor: pointer;
        }

        /* Summary Section */
        .summary-section {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 25px;
            margin-bottom: 25px;
        }

        .summary-section h3 {
            color: var(--primary-color);
            font-size: 1.3rem;
            margin-bottom: 10px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .summary-section .btn-edit {
            font-size: 0.9rem;
            padding: 6px 15px;
        }

        .summary-item {
            display: flex;
            margin-bottom: 10px;
        }

        .summary-item .label {
            font-weight: 600;
            width: 150px;
            color: #495057;
        }

        .summary-item .value {
            flex: 1;
            color: #212529;
        }

        .rma-summary-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            padding: 15px;
            margin-bottom: 15px;
        }

        /* Knowledge Base Button */
        .kb-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--primary-color);
            color: white;
            border: none;
            font-size: 24px;
            box-shadow: 0 4px 20px rgba(0, 102, 204, 0.4);
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 1000;
        }

        .kb-button:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 30px rgba(0, 102, 204, 0.6);
        }

        /* Modal Customization */
        .modal-header {
            background: var(--primary-color);
            color: white;
            border-radius: 12px 12px 0 0;
        }

        .modal-header .btn-close {
            filter: brightness(0) invert(1);
        }

        .modal-content {
            border-radius: 12px;
            border: none;
        }

        /* Loading Spinner */
        .spinner-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .spinner-overlay.show {
            display: flex;
        }

        /* Responsive Design */
        @media (max-width: 992px) {
            .sidebar {
                position: relative;
                width: 100%;
                min-height: auto;
                padding: 30px 20px;
                display: block;
                justify-content: flex-start;
            }

            .main-content {
                margin-left: 0;
                width: 100%;
                padding: 30px 20px;
                min-height: auto;
            }

            .form-container {
                padding: 25px;
            }

            .sidebar .how-to {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .sidebar h1 {
                font-size: 1.4rem;
            }

            .step-header h2 {
                font-size: 1.4rem;
            }

            .form-navigation {
                flex-direction: column;
                gap: 10px;
            }

            .form-navigation .btn {
                width: 100%;
            }

            .step-indicators {
                overflow-x: auto;
            }

            .kb-button {
                width: 50px;
                height: 50px;
                font-size: 20px;
                bottom: 20px;
                right: 20px;
            }
        }

        /* Select2 customization */
        .select2-container--bootstrap-5 .select2-selection {
            border-radius: 6px;
            min-height: 42px;
        }

        .alert-info {
            background-color: #cfe2ff;
            border-color: #b6d4fe;
            color: #084298;
        }