/* Main Container */
.website-scraper-tool {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* Form Section */
.scraper-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.scraper-form label {
    font-weight: bold;
    align-self: center;
}

.scraper-form input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ced4da;
    border-radius: 5px;
    font-size: 16px;
}

/* Buttons */
.scraper-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.scraper-buttons button {
    padding: 12px 24px;
    background: #2d3436;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scraper-buttons button:hover {
    background: #0984e3;
    transform: translateY(-2px);
}

.scraper-buttons button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

/* Iframe */
.website-iframe-container {
    margin: 20px 0;
}

#website-iframe {
    width: 100%;
    height: 500px;
    border: 2px solid #dfe6e9;
    border-radius: 5px;
    background: white;
}

/* Progress Indicator */
#progress {
    padding: 15px;
    margin: 20px 0;
    background: white;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

/* Scraped Content */
#scraped-content {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 5px;
}

.scraped-section {
    margin: 15px 0;
    padding: 15px;
    border: 1px solid #eee;
}

.scraped-section h4 {
    color: #2d3436;
    margin-top: 0;
}

#scraped-links, #scraped-text, #scraped-images {
    list-style: none;
    padding: 0;
}

#scraped-links li, #scraped-text li, #scraped-images li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

#scraped-links a {
    color: #0984e3;
    text-decoration: none;
}

#scraped-links a:hover {
    text-decoration: underline;
}

#scraped-images img {
    max-width: 100px;
    height: auto;
    border-radius: 5px;
}
