    /* Tool Container */
    .tool-container {
        max-width: 90%;
        margin: 10px auto 50px auto;
        padding: 35px 25px 15px 25px;
        background-color: white;
        border: 2px dashed blue;
        text-align: center;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 
                    0 0 0 1px rgba(0, 0, 0, 0.02);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    } 

    /* Input Group */
    .input-group {
        display: flex;
        gap: 10px;
        margin-bottom: 20px;
        position: relative;
    }

    #videoUrl {
        flex: 1;
        padding: 15px 20px;
        border: 2px solid blue;
        border-radius: 8px;
        font-size: 16px;
        transition: all 0.3s ease;
        background-color: #f5f5fa;
        color: #333;
    }

    #videoUrl:focus {
        border-color: var(--primary-color);
        outline: none;
        box-shadow: 0 0 0 3px rgba(66, 103, 178, 0.2);
    }

    #downloadBtn {
        padding: 0 25px;
        background-color: var(--primary-color);
        color: white;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

    #downloadBtn:hover {
        background-color: #3a5a99;
        transform: translateY(-2px);
    }

    #downloadBtn:active {
        transform: translateY(0);
    }

    #downloadBtn:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }

    /* Circular Progress Indicator */
    .progress-container {
        display: none;
        flex-direction: column;
        align-items: center;
        margin: 20px 0;
    }

    .progress-circle {
        width: 60px;
        height: 60px;
        position: relative;
        margin-bottom: 15px;
    }

    .progress-circle-background {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 5px solid #f0f0f0;
        box-sizing: border-box;
    }

    .progress-circle-fill {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 5px solid transparent;
        border-top-color: var(--primary-color);
        border-right-color: var(--primary-color);
        box-sizing: border-box;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    /* Progress Text */
    .progress-text {
        display: none;
        font-size: 16px;
        color: var(--primary-color);
        margin-bottom: 20px;
        font-weight: 500;
    }

    /* Video Preview */
    .video-preview {
        display: none;
        max-width: 50%;
        margin: 20px auto;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Download Buttons */
    .download-buttons {
        display: none;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .download-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 25px;
        background-color: var(--primary-color);
        color: white;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .download-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    }

    .download-btn:active {
        transform: translateY(0);
    }

    .download-btn i {
        font-size: 18px;
    }

    /* Error Message */
    .error {
        display: none;
        padding: 15px;
        background-color: #ffebee;
        color: #c62828;
        border-radius: 8px;
        margin-top: 20px;
        font-weight: 500;
    }

    /* Toast Notification */
    .toast {
        position: fixed;
        bottom: 30px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #323232;
        color: white;
        padding: 15px 25px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.3s ease;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .toast.show {
        opacity: 1;
    }

    .toast.success {
        background-color: #43a047;
    }

    .toast.error {
        background-color: #e53935;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .input-group {
            flex-direction: column;
        }
        
        #videoUrl, #downloadBtn {
            width: 100%;
        }
        
        #downloadBtn {
            justify-content: center;
            padding: 15px;
        }
    }
    
    .tool-header {
        text-align: center;
        max-width: 800px;
        margin: 10px auto 20px;
        padding: 0 20px;
    }
    
    .tool-title {
        font-size: 2rem;
        margin-bottom: 10px;
        color: #2d3748;
        line-height: 1.2;
    }
    
    .tool-description {
        font-size: 1.1rem;
        color: #4a5568;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }