:root {
    --primary-color: #3066f6;
    --background-color: #e6f0ff;
    --text-color: #333;
    --container-bg: #fff;
    --input-bg: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 30px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color);
    text-decoration: none;
}

.logo span {
    color: var(--primary-color);
    text-decoration: underline;
}

.right-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 5px;
}

.flag {
    width: 24px;
    height: 16px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    color: #555;
    margin-bottom: 30px;
    text-align: center;
}

.converter-container {
    background-color: var(--container-bg);
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.file-input-container {
    position: relative;
    margin-bottom: 20px;
}

.file-input {
    width: 100%;
    padding: 15px;
    border: 2px dashed #ccc;
    border-radius: 5px;
    background-color: var(--input-bg);
    cursor: pointer;
    text-align: center;
    transition: border-color 0.3s;
}

.file-input:hover {
    border-color: var(--primary-color);
}

#fileInput {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.selected-file {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    display: none;
}

.convert-button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.convert-button:hover {
    background-color: #2050d0;
}

.convert-button:disabled {
    background-color: #b0b0b0;
    cursor: not-allowed;
}

.progress-container {
    margin-top: 20px;
    display: none;
}

.progress-bar {
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 5px;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s;
}

.progress-text {
    font-size: 14px;
    color: #555;
}

.result-container {
    margin-top: 20px;
    display: none;
    text-align: center;
}

.download-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.download-button:hover {
    background-color: #2050d0;
}

.share-section {
    text-align: center;
    margin-top: 20px;
}

.share-section h3 {
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.whatsapp { background-color: #25D366; }
.facebook { background-color: #1877F2; }
.instagram { background-color: #E4405F; }
.twitter { background-color: #000000; }
.linkedin { background-color: #0A66C2; }

.error-message {
    color: #ff3333;
    margin-top: 10px;
    display: none;
}

/* Dark mode */
.dark-mode {
    --primary-color: #4d7eff;
    --background-color: #1a1a2e;
    --text-color: #f0f0f0;
    --container-bg: #252543;
    --input-bg: #333350;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .converter-container {
        padding: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
}
/* Add these styles to your existing style.css file */
