.tiktok-downloader-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tiktok-downloader-container h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

#tiktok-download-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

#tiktok-url {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

#tiktok-url:focus {
    outline: none;
    border-color: #fe2c55;
}

#download-btn {
    padding: 12px 25px;
    background: #fe2c55;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    white-space: nowrap;
}

#download-btn:hover {
    background: #d91d46;
}

#download-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#tiktok-loader {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.tiktok-video-result {
    background: white;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.tiktok-video-result img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tiktok-video-result h3 {
    color: #333;
    margin: 15px 0 10px;
    font-size: 18px;
    line-height: 1.4;
}

.tiktok-video-result p {
    color: #666;
    margin: 8px 0;
    font-size: 14px;
}

.download-button {
    display: inline-block;
    margin: 10px 5px;
    padding: 12px 30px;
    background: #25f4ee;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.download-button:hover {
    background: #1dd4ce;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.download-button.secondary {
    background: #ff6b6b;
    color: white;
}

.download-button.secondary:hover {
    background: #ee5a52;
}

.music-info {
    margin-top: 15px;
    padding: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    font-size: 13px;
}

.error {
    color: #d91d46;
    text-align: center;
    padding: 15px;
    background: #ffe5e5;
    border-radius: 5px;
    font-weight: 500;
}

@media (max-width: 600px) {
    #tiktok-download-form {
        flex-direction: column;
    }

    .download-button {
        display: block;
        margin: 10px 0;
    }
}