* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
           /* background: linear-gradient(135deg, #F90 0%, #764ba2 100%);*/
            background: linear-gradient(135deg, #fff 0%, rgb(217, 229, 255) 100%);
            min-height: 100vh;
            color: #333;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }

        .header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 700;
            background: Black;/*linear-gradient(135deg, #F90, #764ba2);*/
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            text-align: center;
            margin-bottom: 10px;
        }

        .header p {
            text-align: center;
            color: #666;
            font-size: 1.1rem;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
        }

        .form-section {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .section-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 25px;
            color: #333;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .section-title::before {
            content: '';
            width: 4px;
            height: 30px;
            background: linear-gradient(135deg, #f88d01, #fc9904);
            /*background: linear-gradient(135deg, #F90, #764ba2);*/
            border-radius: 2px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group input[type="radio"] {
            width: 18px;
            height: 18px;
            accent-color: #F90;
            margin-right: 8px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #555;
        }

        .form-group div label {
            font-weight: 400;
            margin-bottom: 8px;
            cursor: pointer;
            display: flex;
            align-items: center;
            padding: 8px;
            border-radius: 8px;
            transition: background-color 0.2s ease;
            border: 2px solid transparent;
        }

        .form-group div label:hover {
            background-color: rgb(240, 222, 184);
            /*background-color: #f0f2ff;*/
            border-color: #F90;
        }

        .form-group div label:has(input:checked) {
            background-color: #f5d7a0;
            border-color: #F90;
            font-weight: 600;
        }
        #boxPontuacaoTotal{
            margin-top: 10px; padding: 10px; background: #f5d7a0; border-radius: 8px; text-align: center;
        }
        #pontuacaoTotal {
            color: rgb(255, 145, 0);
            font-size: 1.1rem;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #f5d7a0;
            border-radius: 12px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: #fff;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #F90;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        .irregularities-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .category-group {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
        }

        .category-group:hover {
            transform: translateY(-2px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
        }

        .category-title {
            background: linear-gradient(135deg, #f88d01, #fc9904);
            padding: 20px;
            margin: 0;
            font-size: 1rem;
            font-weight: 600;
            color: white;
            display: flex;
            align-items: center;
            gap: 10px;
            position: relative;
        }

        .category-number {
            background: rgba(255, 255, 255, 0.2);
            padding: 5px 10px;
            border-radius: 8px;
            font-weight: 700;
            font-size: 0.9rem;
        }

        .category-name {
            flex: 1;
            font-size: 0.95rem;
        }

        .category-note {
            font-size: 0.75rem;
            opacity: 0.9;
            font-style: italic;
            margin-left: auto;
        }

        .category-items {
            padding: 20px;
        }

        /* Cores específicas para cada categoria 
        .gabarito .category-title { background: linear-gradient(135deg, #F90, #764ba2); }
        .coeficiente .category-title { background: linear-gradient(135deg, #f093fb, #f5576c); }
        .ocupacao .category-title { background: linear-gradient(135deg, #4facfe, #00f2fe); }
        .permeabilidade .category-title { background: linear-gradient(135deg, #43e97b, #38f9d7); }
        .afastamentos .category-title { background: linear-gradient(135deg, #fa709a, #fee140); }
        .estacionamento .category-title { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }
        .vao .category-title { background: linear-gradient(135deg, #ffecd2, #fcb69f); color: #333; }
        .pilotis .category-title { background: linear-gradient(135deg, #ff9a9e, #fecfef); color: #333; }
        .iluminacao .category-title { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #333; }
        .outras .category-title { background: linear-gradient(135deg, #d299c2, #fef9d7); color: #333; }
        .elemento .category-title { background: linear-gradient(135deg, #89f7fe, #66a6ff); }
        .rampa .category-title { background: linear-gradient(135deg, #fdbb2d, #22c1c3); }
        */
        .irregularity-item {
            background: #f7e8cc;
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 15px;
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .irregularity-item:last-child {
            margin-bottom: 0;
        }

        .irregularity-item:hover {
            border-color: #F90;
            background: #f3dbad;
            transform: translateX(5px);
        }

        .irregularity-item label {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
            margin-bottom: 12px;
            line-height: 1.4;
            font-size: 0.95rem;
        }

        .irregularity-item label span {
            flex: 1;
        }

        .irregularity-item label strong {
            color: #F90;
            font-weight: 600;
        }

        .irregularity-item input[type="checkbox"] {
            width: 20px;
            height: 20px;
            accent-color: #F90;
            margin-top: 2px;
            flex-shrink: 0;
        }

        .quantity-input {
            margin-top: 10px;
            display: none;
            animation: slideDown 0.3s ease;
        }

        .quantity-input.active {
            display: block;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .quantity-input input {
            width: 100%;
            padding: 10px 12px;
            border: 2px solid #f7dca2;
            border-radius: 8px;
            font-size: 14px;
            transition: all 0.3s ease;
        }

        .quantity-input input:focus {
            outline: none;
            border-color: #F90;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
        }

        @media (max-width: 768px) {
            .irregularities-container {
                grid-template-columns: 1fr;
            }
            
            .category-title {
                padding: 15px;
                font-size: 0.85rem;
                flex-wrap: wrap;
            }
            
            .category-note {
                font-size: 0.7rem;
                margin-left: 0;
                margin-top: 5px;
                width: 100%;
            }
            
            .category-items {
                padding: 15px;
            }
        }

        .btn {
            background: linear-gradient(135deg, #f39f04, #f8ab1c);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
            margin-top: 20px;
        }

        .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 25px rgba(167, 166, 165, 0.671);
        }

        .results {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .total-value {
            background: linear-gradient(135deg, #f88d01, #fc9904);
            /*background: linear-gradient(135deg, #F90, #764ba2);*/
            color: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            margin-bottom: 25px;
        }

        .total-value h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }

        .total-value .value {
            font-size: 2.5rem;
            font-weight: 700;
        }

        .breakdown {
            background: linear-gradient(135deg, #eeeeee, #ffffff);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 20px;
            border: 1px solid #f7dca2;
        }

        .breakdown h4 {
            margin-bottom: 20px;
            color: #333;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .breakdown h4::before {
            content: '📊';
            font-size: 1.5rem;
        }

        .breakdown-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid #f7dca2;
            transition: all 0.2s ease;
        }

        .breakdown-item:hover {
            background: rgba(102, 126, 234, 0.05);
            padding-left: 10px;
            border-radius: 8px;
        }

        .breakdown-item:last-child {
            border-bottom: none;
            font-weight: 600;
            margin-top: 15px;
            padding-top: 20px;
            border-top: 2px solid #F90;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
            border-radius: 10px;
            padding: 15px 10px;
        }

        .planilha {
            background: white;
            padding: 40px;
            border-radius: 15px;
            margin-top: 30px;
            border: 2px solid #f7dca2;
            font-family: 'Courier New', monospace;
            font-size: 13px;
            line-height: 1.5;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .planilha h3 {
            text-align: center;
            margin-bottom: 30px;
            font-size: 18px;
            font-weight: bold;
            color: #333;
        }

        .planilha-section {
            margin-bottom: 30px;
            padding: 20px;
            background: #f9f9f9;
            border-radius: 10px;
            border-left: 4px solid #F90;
        }

        .planilha table {
            width: 100%;
            border-collapse: collapse;
            margin: 15px 0;
            background: white;
        }

        .planilha th {
            background: #F90;
            color: white;
            padding: 12px 8px;
            text-align: center;
            font-weight: bold;
        }

        .planilha td {
            padding: 10px 8px;
            border: 1px solid #ddd;
            vertical-align: top;
        }

        .planilha tr:nth-child(even) {
            background: #f7dca2;
        }

        .developer-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4) !important;
        }

        @media (max-width: 768px) {
            .main-content {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 2rem;
            }
            
            .irregularities-grid {
                grid-template-columns: 1fr;
            }
        }

        @media print {
            body {
                background: white;
                margin: 0;
                padding: 0;
            }
            
            .container {
                margin: 0;
                padding: 0;
                max-width: none;
            }
            
            .header,
            .main-content,
            .form-section,
            .results,
            .btn {
                display: none !important;
            }
            
            .planilha {
                box-shadow: none;
                border: 1px solid #000;
                page-break-inside: avoid;
                margin: 0;
                padding: 20px;
                border-radius: 0;
                background: rgb(240, 222, 184);
            }
            
            .planilha-section {
                border-left: none !important;
                background: white !important;
            }
            
            .planilha h3 {
                margin-top: 0;
                margin-bottom: 20px;
            }
        }