        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            /*background: linear-gradient(135deg, #003087 0%, #0052A5 100%);*/
            background: linear-gradient(150deg, #663399, #008B8B);
            min-height: 100vh;
            padding: 20px;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 15px;
            box-shadow: 0 20px 40px rgba(0,48,135,0.3);
            overflow: hidden;
        }

        .header {           
            background: linear-gradient(150deg, #663399, #008B8B);
            color: white;
            padding: 30px;
            text-align: center;
        }

        .header h1 {
            font-size: 2.2em;
            margin-bottom: 10px;
        }

        .header p {
            font-size: 1.1em;
            opacity: 0.9;
        }

        .form-container {
            padding: 40px;
        }

        .section {
            margin-bottom: 40px;
            padding: 25px;
            background: #f8f9ff;
            border: 2px solid #e3e8ff;
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .section:hover {
            border-color: #663399;
            box-shadow: 0 5px 20px rgba(0,48,135,0.1);
        }

        .section-title {
            color: #003087;
            font-size: 1.5em;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
            font-size: 0.95em;
        }

        input, select, textarea {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            font-size: 1em;
            text-transform: uppercase;
            transition: all 0.3s ease;
            background: white;
        }
        #correoAgente{
            text-transform: lowercase;
        }
        
        input:focus, select:focus, textarea:focus {
            outline: none;
            border-color: #003087;
            box-shadow: 0 0 0 3px rgba(0,48,135,0.1);
        }

        .file-upload {
            position: relative;
            overflow: hidden;
            display: inline-block;
        }

        .file-upload input[type=file] {
            position: absolute;
            left: -9999px;
        }

        .file-upload-label {
            display: inline-block;
            padding: 12px 25px;            
            background: linear-gradient(150deg, #663399, #008B8B);
            color: white;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
        }

        .file-upload-label:hover {
            background: linear-gradient(90deg, #0052A5, #003087);
            transform: translateY(-2px);
        }
/*
        .file-list {
            margin-top: 10px;
            padding: 10px;
            background: #f1f5f9;
            border-radius: 6px;
            max-height: 100px;
            overflow-y: auto;
        }*/

        .submit-btn {
            background: linear-gradient(150deg, #663399, #008B8B);
            color: white;
            padding: 18px 40px;
            border: none;
            border-radius: 10px;
            font-size: 1.2em;
            font-weight: 700;
            cursor: pointer;
            width: 100%;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(0,48,135,0.4);
        }

        .submit-btn:disabled {
            opacity: 0.7;
            cursor: not-allowed;
            transform: none;
        }
        

        .loading {
            display: none;
            text-align: center;
            padding: 20px;
        }

        .success-message, .error-message {
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0;
            text-align: center;
            font-weight: 600;
        }

        .success-message {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .error-message {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }       
        #preview { 
            margin-top: 1rem; 
            display: flex; 
            flex-wrap: wrap; 
            gap: 10px; 
        }
        #preview img, #preview .pdf-icon { 
            width: 80px; 
            height: 80px; 
            object-fit: cover;
            border: 1px solid #ccc; 
            padding: 2px; 
        }
        .pdf-icon { background: #f0f0f0; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 10px; 
            color: #555; 
        }
        .error { 
            color: red; 
            font-size: 0.9rem; 
        }

        @media (max-width: 768px) {
            .form-container {
                padding: 20px;
            }
            
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .header h1 {
                font-size: 1.8em;
            }
            
            .section {
                padding: 20px;
            }
        }

        @media (max-width: 480px) {
            body {
                padding: 10px;
            }
            
            .header {
                padding: 20px;
            }
        }
   