.tools-parent-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    /* padding: 20px; */
}

.tools-parent-container {
    .header {
        margin-bottom: 30px;
    }

    .header h1 {
        font-size: 2.5rem;
        color: #333;
        margin-bottom: 10px;
        font-weight: 700;
    }

    .header p {
        font-size: 1.1rem;
        color: #666;
        line-height: 1.6;
    }

    .upload-section {
        margin-bottom: 30px;
    }

    .file-input-wrapper {
        position: relative;
        display: inline-block;
        margin-bottom: 20px;
    }

    .file-input {
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

    .file-input-button {
        display: inline-block;
        padding: 15px 30px;
        background: linear-gradient(45deg, #667eea, #764ba2);
        color: white;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .file-input-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .file-list {
        margin-top: 20px;
        text-align: left;
    }

    .file-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        background: #f8f9fa;
        border-radius: 10px;
        margin-bottom: 10px;
        border-left: 4px solid #667eea;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .file-info {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .file-name {
        font-weight: 500;
        color: #333;
        margin-bottom: 2px;
    }

    .file-size {
        color: #666;
        font-size: 0.9rem;
    }

    .file-actions {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .remove-file {
        background: #dc3545;
        color: white;
        border: none;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .remove-file:hover {
        background: #c82333;
        transform: scale(1.1);
    }

    .files-summary {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 20px;
        display: none;
    }

    .summary-stats {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .clear-all-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 8px 16px;
        border-radius: 20px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-size: 0.9rem;
    }

    .clear-all-btn:hover {
        background: rgba(255, 255, 255, 0.3);
    }

    .compression-options {
        margin-bottom: 30px;
    }

    .compression-options h3 {
        margin-bottom: 20px;
        color: #333;
        font-size: 1.3rem;
    }

    .compression-levels {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .compression-option {
        background: white;
        border: 2px solid #e0e0e0;
        border-radius: 15px;
        padding: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        flex: 1;
        min-width: 200px;
        max-width: 250px;
    }

    .compression-option:hover {
        border-color: #667eea;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .compression-option.selected {
        border-color: #667eea;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        color: white;
    }

    .compression-option h4 {
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .compression-option p {
        font-size: 0.9rem;
        opacity: 0.8;
    }

    .compress-button {
        background: linear-gradient(45deg, #28a745, #20c997);
        color: white;
        border: none;
        padding: 15px 40px;
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        margin-top: 20px;
    }

    .compress-button:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    .compress-button:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .progress-section {
        margin-top: 30px;
        display: none;
    }

    .progress-bar {
        width: 100%;
        height: 10px;
        background: #e0e0e0;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 10px;
    }

    .progress-fill {
        height: 100%;
        background: linear-gradient(45deg, #667eea, #764ba2);
        transition: width 0.3s ease;
        width: 0%;
    }

    .progress-text {
        color: #666;
        font-size: 0.9rem;
    }

    .result-section {
        margin-top: 30px;
        display: none;
    }

    .result-stats {
        display: flex;
        justify-content: space-around;
        margin-bottom: 20px;
        background: #f8f9fa;
        padding: 20px;
        border-radius: 15px;
    }

    .stat-item {
        text-align: center;
    }

    .stat-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: #667eea;
    }

    .stat-label {
        color: #666;
        font-size: 0.9rem;
    }

    .download-button {
        background: linear-gradient(45deg, #dc3545, #fd7e14);
        color: white;
        border: none;
        padding: 15px 40px;
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .download-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    @media (max-width: 768px) {
        .container {
            padding: 20px;
        }

        .header h1 {
            font-size: 2rem;
        }

        .compression-levels {
            flex-direction: column;
        }

        .compression-option {
            max-width: 100%;
        }

        .result-stats {
            flex-direction: column;
            gap: 15px;
        }
    }
}