.split-pdf-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.split-pdf-form h3 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.form-group input[type="file"],
.form-group input[type="text"],
.form-group input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus {
    border-color: #007cba;
    outline: none;
}

.split-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.split-options label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
}

.split-options input[type="radio"] {
    margin-right: 8px;
}

#split-pdf-btn {
    background: #007cba;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

#split-pdf-btn:hover {
    background: #005a87;
}

#split-pdf-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#split-pdf-progress {
    text-align: center;
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(45deg, #007cba, #00a0d2);
    width: 0%;
    transition: width 0.3s;
}

#split-pdf-result {
    margin-top: 20px;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
}

.download-links {
    margin-top: 15px;
}

.download-links h4 {
    margin-bottom: 10px;
    color: #155724;
}

.download-links ul {
    list-style: none;
    padding: 0;
}

.download-links li {
    margin: 5px 0;
}

.download-links a {
    color: #007cba;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #007cba;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s;
}

.download-links a:hover {
    background: #007cba;
    color: white;
}

small {
    color: #666;
    font-style: italic;
}

/* Responsive design */
@media (max-width: 768px) {
    .split-pdf-container {
        margin: 10px;
        padding: 15px;
    }
    
    .split-options {
        flex-direction: column;
    }
}