.pdfc-box {
    max-width: 700px; /* wider layout */
    margin: 40px auto;
    padding: 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.pdfc-box::before {
    content: "PDF Compressor";
    display: block;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffeb3b;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.pdfc-box input[type="file"] {
    width: 100%;
    background: rgba(255,255,255,0.12);
    border: 2px dashed rgba(255,255,255,0.4);
    padding: 16px;
    border-radius: 14px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pdfc-box input[type="file"]:hover {
    border-color: #ffeb3b;
}

.pdfc-box input::file-selector-button {
    background: #ffeb3b;
    color: #1d2671;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}

.pdfc-box input::file-selector-button:hover {
    background: #ffd600;
}

.pdfc-box select {
    width: 100%;
    padding: 14px;
    margin-top: 14px;
    border-radius: 12px;
    border: none;
    background: rgba(255,255,255,0.9);
    font-weight: 600;
    color: #333;
    transition: 0.3s ease;
}

.pdfc-box select:hover {
    background: rgba(255,255,255,1);
}

#pdfc_btn {
    margin-top: 20px;
    width: 100%;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    border: none;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff6a00, #ee0979);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

#pdfc_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #ff8a00, #ff3e8c);
}

#pdfc_result {
    margin-top: 24px;
    padding: 16px;
    background: rgba(0,0,0,0.25);
    border-radius: 14px;
    font-size: 15px;
    text-align: center;
    color: #fff;
    min-height: 40px;
}

#pdfc_result a {
    display: inline-block;
    margin-top: 12px;
    background: #00e676;
    color: #004d2c;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s ease;
}

#pdfc_result a:hover {
    background: #00c853;
}

@media (max-width: 768px) {
    .pdfc-box {
        margin: 20px;
        padding: 24px;
    }
    #pdfc_btn {
        font-size: 16px;
        padding: 14px;
    }
}
