/* --- Image to PDF Converter Frontend Styles --- */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.itpc-converter-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    max-width: 550px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid #e9ecef;
    box-sizing: border-box;
}

.itpc-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px 0;
    text-align: center;
}

.itpc-header p {
    font-size: 16px;
    color: #6c757d;
    margin: 0 0 30px 0;
    text-align: center;
    line-height: 1.5;
}

.itpc-upload-area {
    border: 2px dashed #adb5bd;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    background-color: #f8f9fa;
}

.itpc-upload-area:hover {
    border-color: #0d6efd;
    background-color: #f1f3f5;
}

.itpc-upload-area .itpc-upload-icon svg {
    width: 50px;
    height: 50px;
    color: #0d6efd;
    margin-bottom: 15px;
}

.itpc-upload-area-text {
    font-size: 18px;
    font-weight: 500;
    color: #343a40;
}

.itpc-upload-area-subtext {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

/* Hide the actual file input */
.itpc-converter-form input[type="file"] {
    display: none;
}

.itpc-file-status {
    text-align: center;
    font-size: 15px;
    color: #495057;
    font-weight: 500;
    margin-top: 20px;
    display: none; /* Hidden by default */
}

.itpc-submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #0d6efd, #0d6efd);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.itpc-submit-button:hover,
.itpc-submit-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
}

/* Responsive Design */
@media (max-width: 600px) {
    .itpc-converter-wrapper {
        margin: 20px 15px;
        padding: 25px 20px;
    }

    .itpc-header h2 {
        font-size: 22px;
    }

    .itpc-header p {
        font-size: 15px;
    }

    .itpc-upload-area {
        padding: 30px 15px;
    }
}