* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        body {
            background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
            color: #333;
            min-height: 100vh;
            padding: 20px;
            /* display: flex; */
	           /* flex-direction: column; */
            justify-content: center;
            align-items: center;
        }

        .container {
          display: flex;
	         flex-direction: row;
            max-width: 1800px;
            justify-content: center;
            align-items: center;
            width: 100%;
            margin: 0 auto;

        }
        .cont{
          position: fixed;
          top: 0; left: 0;
          width: 100%;
          height: 100%;
          background: rgba(0,0,0,0.5);
          display: none; /* پیش‌فرض مخفی */
          justify-content: center;
          align-items: center;
          z-index: 5;
        }

        .form-card {
            background: white;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
            /* overflow: scroll; */
            /* height: 600px; */
            position: absolute;
            top: 80px;
            /* left: -400px; */
            /* top:0; */
            animation: fadeIn .3s ease;
            /* z-index: 3; */

        }
        .form-card.active {
          left: 10px;
        }

        .form-header {
          border-top-left-radius: 20px;
          border-top-right-radius: 20px;
            background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
            color: white;
            padding: 25px 30px;
            text-align: center;
        }

        h1 {
            font-size: 1.8rem;
            margin-bottom: 10px;
        }

        .form-description {
            font-size: 1rem;
            opacity: 0.9;
        }

        .form-body {
            padding: 30px;
        }

        .form-group {
            margin-bottom: 25px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: #444;
        }

        .required::after {
            content: " *";
            color: #e74c3c;
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            font-size: 1rem;
            transition: all 0.3s ease;
            background: white;
        }

        .form-control:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
        }

        select.form-control {
            cursor: pointer;
        }

        textarea.form-control {
            resize: vertical;
            min-height: 80px;
        }

        .category-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
            margin-top: 10px;
        }

        .category-option {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            border: 2px solid #e0e0e0;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .category-option:hover {
            border-color: #3498db;
            background: #f8fafc;
        }

        .category-option.selected {
            border-color: #3498db;
            background: #e3f2fd;
        }

        .category-option input {
            margin-left: 10px;
        }

        .category-icon {
            margin-left: 10px;
            font-size: 1.2rem;
            color: #3498db;
        }

        .severity-slider {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            background: #f8f9fa;
            padding: 15px;
            border-radius: 10px;
        }

        .severity-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            padding: 10px;
            border-radius: 8px;
            flex: 1;
            margin: 0 5px;
        }

        .severity-option:hover {
            background: #e9ecef;
        }

        .severity-option.selected {
            background: #e3f2fd;
            border: 2px solid #3498db;
        }

        .severity-icon {
            font-size: 1.5rem;
            margin-bottom: 8px;
        }

        .low { color: #27ae60; }
        .medium { color: #f39c12; }
        .high { color: #e74c3c; }

        .file-upload-area {
            border: 3px dashed #3498db;
            border-radius: 10px;
            padding: 30px 20px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
        }

        .file-upload-area:hover {
            background: #f8fafc;
        }

        .upload-icon {
            font-size: 2.5rem;
            color: #3498db;
            margin-bottom: 15px;
        }

        .file-input {
            display: none;
        }

        .preview-container {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }

        .preview-item {
            position: relative;
            width: 100px;
            height: 100px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }

        .preview-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .remove-image {
            position: absolute;
            top: 5px;
            left: 5px;
            background: rgba(231, 76, 60, 0.8);
            color: white;
            border: none;
            border-radius: 50%;
            width: 25px;
            height: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.8rem;
        }

        .optional-note {
            font-size: 0.85rem;
            color: #7f8c8d;
            margin-top: 5px;
        }

        .contact-toggle {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .toggle-switch {
            position: relative;
            display: inline-block;
            width: 50px;
            height: 24px;
            margin-left: 10px;
        }

        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }

        .toggle-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 24px;
        }

        .toggle-slider:before {
            position: absolute;
            content: "";
            height: 16px;
            width: 16px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
        }

        input:checked + .toggle-slider {
            background-color: #3498db;
        }

        input:checked + .toggle-slider:before {
            transform: translateX(26px);
        }

        .contact-fields {
            display: none;
            margin-top: 15px;
            padding: 15px;
            background: #f8f9fa;
            border-radius: 10px;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .btn {
            padding: 14px 25px;
            border: none;
            border-radius: 10px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: block;
            width: 100%;
        }

        .btn-primary {
            background: linear-gradient(135deg, #1e5799 0%, #207cca 100%);
            color: white;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 87, 153, 0.4);
        }

        footer {
            text-align: center;
            margin-top: 20px;
            color: white;
            opacity: 0.8;
            position: absolute;
            right:10px;bottom: 12px;
            z-index: 2;
        }

        @media (max-width: 768px) {
            .form-body {
                padding: 20px;
            }

            .category-options {
                grid-template-columns: 1fr;
            }

            .severity-slider {
                flex-direction: column;
                gap: 10px;
            }

            .severity-option {
                flex-direction: row;
                justify-content: flex-start;
            }

            .severity-icon {
                margin-bottom: 0;
                margin-left: 10px;
            }
        }

        @keyframes fadeIn {
          from {opacity: 0; transform: scale(0.95);}
          to {opacity: 1; transform: scale(1);}
        }
        /* نمونه ۵: Modal */
                .modal {
                    position: fixed;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: rgba(0, 0, 0, 0.5);
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    opacity: 0;
                    visibility: hidden;
                    transition: all 0.3s ease;
                    z-index: 2000;
                }

                .modal.active {
                    opacity: 1;
                    visibility: visible;
                }

                .modal-content {
                    background: white;
                    padding: 30px;
                    border-radius: 15px;
                    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
                    transform: scale(0.7);
                    transition: transform 0.3s ease;
                    max-width: 500px;
                    width: 90%;
                }

                .modal.active .modal-content {
                    transform: scale(1);
                }

                .modal-close {
                    position: absolute;
                    top: 15px;
                    left: 15px;
                    background: none;
                    border: none;
                    font-size: 1.5rem;
                    cursor: pointer;
                    color: #666;
                }
