body {
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    margin: 0;

    color: #333;
}

h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2c3e50;
}



.converter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.preview-section {
    flex: 1;
    min-width: 300px;
}

.details-section {
    flex: 1;
    min-width: 300px;
}

#dropZone {
    border: 2px dashed #3498db;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background-color: #f8fafc;
    transition: all 0.3s;
    margin-bottom: 20px;
    cursor: pointer;
}

#dropZone.highlight {
    background-color: #ebf5ff;
    border-color: #2980b9;
}

#dropZone p {
    margin: 0;
    color: #555;
}

#dropZone .icon {
    font-size: 48px;
    color: #3498db;
    margin-bottom: 10px;
}

#preview {
    max-width: 100%;
    max-height: 300px;
    /* margin-top: 15px; */
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none;
}

#imageDetails {
    margin-top: 15px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.detail-row {
    display: flex;
    margin-bottom: 8px;
}

.detail-label {
    font-weight: bold;
    width: 150px;
    color: #555;
}

.detail-value {
    flex: 1;
    word-break: break-all;
}

#result {
    width: 100%;
    height: 200px;
    margin: 15px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: monospace;
    resize: vertical;
    background-color: #f8f9fa;
    box-sizing: border-box;
}

.btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.btn {
    background-color: #3498db;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    flex: 1;
    min-width: 120px;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.file-input-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-input-wrapper input[type=file] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.loading {
    display: none;
    text-align: center;
    margin: 10px 0;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.option-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.option-btn {
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.option-btn:hover {
    background-color: #d1d7dc;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -100px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.hideElement {
    display: none;
}


header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

header h1 {
    color: white;
    font-size: 32px;

}

header p {
    color: white;
    margin: 10px 0 0;
    line-height: 24px;
}

footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    background-color: #2c3e50;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

footer a {
    color: #1489f7;
    text-decoration: none;
}

footer p {
    color: #fff;
    margin: 0;
}

footer a:hover {
    text-decoration: underline;
}

.container {
    max-width: 800px;
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.toolWrapper {
    border: 1px solid #8b8b8b;
    padding: 15px;
    border-radius: 15px;
    margin: 0 0 60px 0;
    background: #f7f7f7;
}

.benefits {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.benefits h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
    position: relative;
}