/* Basic responsive styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #fe2c55;
    /* TikTok/Douyin red color */
}

h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.preview {
    margin: 20px 0;
    text-align: center;
}

.preview img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.comment {
    margin: 20px 0;
}

#shareComment {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    resize: vertical;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.button {
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(1px);
}

.tiktok-button {
    background-color: #fe2c55;
    /* TikTok red */
    color: white;
}

.douyin-button {
    background-color: #000000;
    /* Douyin black */
    color: white;
}

.status {
    margin: 20px 0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    display: none;
}

.status.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
}

.status.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}

.instructions {
    margin-top: 30px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
}

.note {
    font-style: italic;
    color: #666;
}

/* Media queries for better mobile experience */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 15px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .button {
        padding: 12px 15px;
    }
}