body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.marquee-container {
    background: #ff6b6b;
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

fieldset {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 600px;
    width: 100%;
}

legend {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding: 0 20px;
    text-align: center;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td {
    padding: 12px 8px;
    vertical-align: top;
}

label {
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.file-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.file-section h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    text-align: center;
    font-size: 18px;
}

.button-container {
    text-align: center;
    padding: 20px 0;
}

input[type="submit"],
input[type="reset"] {
    padding: 12px 30px;
    margin: 0 10px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

input[type="submit"] {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
}

input[type="submit"]:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

input[type="reset"] {
    background: linear-gradient(45deg, #f44336, #e53935);
    color: white;
}

input[type="reset"]:hover {
    background: linear-gradient(45deg, #e53935, #f44336);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.required {
    color: #ff4444;
    font-weight: bold;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    fieldset {
        padding: 20px;
    }
    
    table {
        font-size: 14px;
    }
    
    .button-container {
        flex-direction: column;
        gap: 10px;
    }
    
    input[type="submit"],
    input[type="reset"] {
        width: 100%;
        margin: 5px 0;
    }
}