body {
    background-color: #f8f9fa;
}

.dropzone {
    border: 2px dashed #0d6efd !important;
    background: #f8f9fa;
    transition: all 0.3s;
    cursor: pointer;
    border-radius: 8px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dropzone-hover {
    background: #e3f0ff;
    border-color: #0a58ca !important;
}

.preview-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    margin-bottom: 8px;
}

.preview-image.drag-over {
    outline: 2px solid #0d6efd;
    background: #e3f0ff;
}

.preview-image img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}

.remove-btn {
    z-index: 2;
    font-size: 1.2rem;
    padding: 0.1rem 0.5rem;
    border-radius: 50%;
    background: #dc3545;
    color: #fff;
    border: none;
    opacity: 0.85;
    transition: background 0.2s, opacity 0.2s;
}

.remove-btn:hover {
    background: #b02a37;
    opacity: 1;
}

.drag-handle {
    font-size: 1.2rem;
    opacity: 0.5;
    user-select: none;
}

#alertArea {
    font-size: 1rem;
}

#uploadProgress {
    height: 1.2rem;
}

#progressBar {
    font-size: 0.9rem;
}

.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

#convert-btn {
    transition: all 0.3s;
}

#convert-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#download-link,
#new-conversion {
    transition: all 0.3s;
}

#download-link:hover,
#new-conversion:hover {
    transform: translateY(-2px);
}

.border-options,
.watermark-options {
    transition: all 0.3s;
}

/* --- Blog Enhancements --- */
.blog-hero {
    background: linear-gradient(90deg, #007bff 0%, #28a745 100%);
    color: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-hero .fa {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.blog-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.blog-hero p {
    font-size: 1.25rem;
    color: #f8f9fa;
    opacity: 0.95;
}

.blog-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    transition: transform 0.18s, box-shadow 0.18s;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.blog-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.13);
    z-index: 2;
}

.blog-card .blog-accent {
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg, #007bff 0%, #28a745 100%);
    border-radius: 1rem 1rem 0 0;
    margin-bottom: 1rem;
}

.blog-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #007bff;
}

.blog-card .card-text {
    color: #495057;
    font-size: 1.05rem;
}

.blog-article {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-bottom: 2.5rem;
    position: relative;
}

.blog-article h1,
.blog-article h2,
.blog-article h3 {
    color: #007bff;
    font-weight: 700;
}

.blog-article h1 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

.blog-article h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.7rem;
}

.blog-article ol,
.blog-article ul {
    margin-left: 1.2rem;
    margin-bottom: 1.2rem;
}

.blog-article p,
.blog-article li {
    font-size: 1.08rem;
    color: #333;
    line-height: 1.7;
}

@media (max-width: 768px) {

    .blog-hero,
    .blog-article {
        padding: 1.2rem 0.7rem 1.2rem 0.7rem;
    }

    .blog-hero h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .dropzone {
        padding: 2rem !important;
    }
}

/* --- Home Hero Section --- */
.home-hero {
    background: linear-gradient(90deg, #f8f9fa 60%, #e3f0ff 100%);
    border-radius: 1.5rem;
    box-shadow: 0 6px 32px rgba(0, 123, 255, 0.07);
    margin-top: 2rem;
    margin-bottom: 2.5rem;
    overflow: hidden;
    position: relative;
}

.home-hero .fa-file-pdf {
    text-shadow: 0 2px 12px rgba(220, 53, 69, 0.12);
}

.home-hero h1 {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #007bff;
}

.home-hero p.lead {
    color: #333;
    font-size: 1.35rem;
    font-weight: 500;
}

.home-hero .badge {
    font-size: 1.1rem;
    padding: 0.7em 1.3em;
    margin-bottom: 0.5em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 768px) {
    .home-hero {
        padding: 1.2rem 0.5rem 1.2rem 0.5rem;
        margin-top: 1rem;
    }

    .home-hero h1 {
        font-size: 1.5rem;
    }
}
