
/* =============================================
   Google AdSense Style Link Ads
   ============================================= */
a.adsense-box {
    background: #e6f0ff;
    color: #000;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    display: block;
    text-decoration: none;
    margin-bottom: 15px;
}

a.adsense-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.adsense-headline {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

.adsense-description {
    font-size: 14px;
}

 /* =============================================
   END Google AdSense Style Link Ads
   ============================================= */


#pasteArea {
    height: 150px;
    border: 2px dashed #ccc;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, #cce5ff, #ffffff);
}

.image-container {
    position: relative;
    width: 220px;
    height: 120px;
    cursor: move;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.pin-button {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    cursor: grab;
    padding: 0;
    touch-action: none;
}

.pin-button:active {
    cursor: grabbing;
}

.clone-button {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: transparent;
    border: none;
    width: 24px;
    height: 24px;
    cursor: pointer;
    padding: 0;
}

.clone-button:hover {
    opacity: 0.8;
}

.remove-button {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 123, 255, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.remove-button:hover {
    background: rgba(0, 123, 255, 0.9);
}

.image-number {
    position: absolute;
    top: 5px;
    left: 63px;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
}

#generateButtonTop, #generateButtonBottom {
    display: none;
}

.post-button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6200;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
}

.post-button:hover {
    background: #e65c00;
}

.post-button.video {
    background: #00cc00;
    color: white;
    left: 65%;
}

.post-button.video:hover {
    background: #00b300;
}

.post-button.audio {
    background: #ffcc00;
    color: black;
    left: 80%;
}

.post-button.audio:hover {
    background: #e6b800;
}

.custom-file-button {
    color: black;
    background-color: white;
    border-color: black;
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
}

.custom-file-button:hover {
    background-color: lightyellow;
    border-color: #e65c00;
}

.custom-file-button img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.custom-file-button-big {
    color: black;
    background-color: white;
    border-color: black;
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
}

.custom-file-button-big:hover {
    background-color: lightyellow;
    border-color: #e65c00;
}

.custom-file-button-big img {
    width: 60px;
    height: 60px;
    margin-right: 8px;
}

.custom-file-input {
    display: none;
}

.custom-file-label {
    font-weight: bold;
}

.post-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    z-index: 1001;
    display: none;
    width: 500px;
    max-width: 90vw;
}

.post-modal textarea, .post-modal input {
    width: 100%;
    margin-bottom: 10px;
}

#videoUrls, #audioUrls {
    width: 100%;
    resize: vertical;
    min-height: 150px;
}

.drag-over {
    border: 2px dashed #007bff;
}

.dragging {
    opacity: 0.5;
}

#customSizeInputs {
    display: none;
    margin-top: 10px;
}

#loadingIndicator {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1002;
}


/* =============================================
was internal code 
   ============================================= */



        #drop-zone {
            border: 4px dashed #dee2e6;
            border-radius: 1rem;
            background-color: #f8f9fa;
            transition: all 0.3s ease;
            cursor: pointer;
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        #drop-zone.dragover {
            border-color: #0d6efd;
            background-color: #e7f0ff;
        }
        .preview-img {
            max-width: 100%;
            max-height: 300px;
            border-radius: 0.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        .metadata {
            background-color: #e9f7ef;
            border-left: 4px solid #28a745;
        }



