   body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 900px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f4f8fc;
        }
        input.invalid {
            border: 1px solid red;
            }
        .header {
            background: linear-gradient(to right, #3498db, #2980b9);
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            color: white;
            margin-bottom: 20px;
            font-size: 28px;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        
        h1 {
            font-size: 22px;
            margin-bottom: 5px;
            color: #2c3e50;
        }
        
        .contract-type-selector {
            background-color: #3498db;
            color: white;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 8px;
            text-align: center;
        }
        
        .contract-type-selector select {
            padding: 8px 15px;
            border-radius: 4px;
            border: none;
            font-size: 16px;
            margin-left: 10px;
            background-color: white;
            color: #333;
        }
        
        .form-section {
            margin-bottom: 30px;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .form-title {
            font-weight: bold;
            text-align: center;
            margin-bottom: 20px;
            font-size: 18px;
            color: #2c3e50;
            padding-bottom: 10px;
            border-bottom: 2px solid #eee;
        }
        
        .form-row {
            margin-bottom: 15px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
            color: #34495e;
        }
        
        .form-input {
            width: 100%;
            box-sizing: border-box;
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 10px;
            min-height: 20px;
            font-size: 14px;
            transition: border 0.3s;
        }
        
        .form-input:focus {
            border-color: #3498db;
            outline: none;
            box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
        }
        
        .checkbox-row, .radio-row {
            display: flex;
            align-items: center;
            margin-bottom: 12px;
            width: 100%;
            padding: 8px;
            background-color: #f8f9fa;
            border-radius: 4px;
        }
        
        .checkbox, .radio {
            margin-right: 12px;
            accent-color: #3498db;
        }
        
        .hidden {
            display: none;
        }
        
        .legal-checkbox {
            margin: 20px 0;
            padding: 15px;
            background-color: #f8f9fa;
            border-radius: 8px;
            border-left: 4px solid #3498db;
        }
        
        .legal-checkbox label {
            display: flex;
            align-items: flex-start;
            cursor: pointer;
        }
        
        .legal-checkbox .checkbox {
            margin-top: 3px;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .signature-section {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 40px;
            background-color: #fff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .signature-box {
            width: 100%;
            text-align: center;
        }
        
        .signature-line {
            border-top: 1px solid #333;
            margin-top: 60px;
            padding-top: 5px;
        }
        
        .footer {
            margin-top: 20px;
            font-size: 12px;
            text-align: center;
            color: #666;
        }
        
        @media (min-width: 768px) {
            .signature-section {
                flex-direction: row;
                justify-content: space-between;
            }
            
            .signature-box {
                width: 48%;
            }
        }

        input[required], select[required], textarea[required] {
            border: 2px solid #ddd;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        input[required]:focus, select[required]:focus, textarea[required]:focus {
            border-color: #2980b9;
            box-shadow: 0 0 8px rgba(41, 128, 185, 0.4);
        }

        .form-section.error {
            background-color: #fff6f6;
            border: 1px solid #e74c3c;
            box-shadow: 0 0 4px #e74c3c;
        }

        .invalid-field::placeholder {
            color: #e74c3c;
        }

        .contract-box {
            background-color: #eaf4ff;
            padding: 25px;
            margin-bottom: 30px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 3px 8px rgba(0,0,0,0.08);
        }

        .contract-box label {
            display: block;
            margin-bottom: 10px;
            font-weight: bold;
            color: #2c3e50;
            font-size: 16px;
        }

        .contract-box select {
            padding: 12px 18px;
            border-radius: 8px;
            font-size: 16px;
            border: 2px solid #3498db;
            background-color: white;
        }
