﻿.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999;
    display:none;
}

.popup-content {
    padding: 20px;
    text-align: center;
}

.popup-content-thank {
    padding: 5px;
    text-align: center;
}

.options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

    .options button {
        background: url(/Images/popup/type_none_active.png) no-repeat center;
        color: white;
        border: none;
        padding: 10px;
        border-radius: 25px;
        cursor: pointer;
        font-size: 14px;
        font-weight: 700;
        transition: 0.3s;
    }

        .options button:hover {
            background: background: url('/Images/popup/type_active.png');
        }

        .options button:active {
            background: background: url('/Images/popup/type_active.png');
        }

input[id="PostByName"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    /* border: 2px solid #0066cc; */
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    outline: none;
    background-color: #c0c4ca;
    border: 0px;
    text-align: left;
}

input[id="Caption"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    /* border: 2px solid #0066cc; */
    border-radius: 12px;
    font-size: 24px;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    outline: none;
    background-color: #c0c4ca;
    border: 0px;
    text-align:left;
}

    input[type="text"]::placeholder {
        color: #666;
    }


.image-upload {
    position: relative;
    display: inline-block;
    margin-top: 10px;
    width: 100%;
    height: 200px;
    background: url('/Images/popup/popup_upload_bg.png') center/cover no-repeat;
    border-radius: 10px;
    /*border: 2px dashed #0066cc;*/
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .image-upload input[type="file"] {
        position: absolute;
        opacity: 0;
        width: 50%;
        height: 50%;
        cursor: pointer;
    }

    .image-upload label {
        color: white;
        font-weight: 700;
        padding: 10px 20px;
        border-radius: 10px;
    }

.buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.close, .submit {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close {
    background: #ccc;
    color: black;
}

.submit {
    background: #007bff;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 700;
    position: relative;
}

    .submit::before {
        content: '\1F4E4'; /* Unicode for upload icon */
        font-size: 20px;
        position: absolute;
        left: 12px;
    }

    .submit span {
        margin-left: 24px;
    }
