* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    padding: 40px;
    position: relative;
}

/* Logo Styles */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.company-logo {
    max-width: 200px;
    max-height: 80px;
    margin-bottom: 15px;
}

.company-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.2em;
    font-weight: 700;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.1em;
    line-height: 1.5;
}

.pdf-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px dashed #dee2e6;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #495057;
    font-size: 1.1em;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

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

.help-text {
    display: block;
    margin-top: 8px;
    color: #6c757d;
    font-size: 0.9em;
    font-style: italic;
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-download {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    margin-bottom: 15px;
}

.btn-download:hover {
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
}

.messages {
    margin-bottom: 25px;
}

.alert {
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 500;
    border-left: 5px solid;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-success {
    background-color: #d1edff;
    color: #155724;
    border-left-color: #28a745;
}

.pdf-viewer {
    margin-top: 40px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
}

.pdf-viewer h2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.4em;
    text-align: center;
}

.pdf-actions {
    padding: 15px 20px;
    background: #e9ecef;
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

iframe {
    border: none;
    background: white;
}

/* Help Section */
.help-section {
    margin-top: 50px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #667eea;
}

.help-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.help-content {
    display: grid;
    gap: 20px;
}

.help-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.help-item strong {
    color: #2c3e50;
    display: block;
    margin-bottom: 8px;
}

.help-item p {
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        padding: 25px;
    }
    
    h1 {
        font-size: 1.8em;
    }
    
    .pdf-form {
        padding: 20px;
    }
    
    .company-logo {
        max-width: 150px;
    }
    
    .help-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    .btn {
        width: 100%;
        padding: 12px 20px;
    }
}