.wcsr-modal {
    position: fixed;
    z-index: 10000;
    left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wcsr-modal-content {
    background: #fff;
    margin: 0;
    padding: 32px 32px 28px 32px;
    border-radius: 8px;
    max-width: 600px;
    width: 96vw;
    position: relative;
    box-sizing: border-box;
}
.wcsr-modal-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}
.wcsr-modal-imgside {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.wcsr-modal-imgside img {
    display: block;
    width: 220px;
    height: 308px;
    object-fit: contain;
    border: 2px solid #e0e0e0;
    background: #fff;
    box-sizing: border-box;
}
.wcsr-modal-formside {
    flex: 1 1 0;
    min-width: 240px;
    max-width: 310px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wcsr-modal-formside h2 {
    font-size: 2.1rem;
    font-weight: bold;
    margin: 0 0 24px 0;
    line-height: 1.1;
}
.wcsr-custom-message {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
}
.wcsr-modal-formside form.wcsr-form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 0;
}
.wcsr-modal-formside label {
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    margin-bottom: 0;
    gap: 18px;
}
.wcsr-modal-formside input[type="number"] {
    padding: 8px 12px;
    font-size: 1.1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 96px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.wcsr-modal-formside input[type="number"]:focus {
    border-color: #4285f4;
    outline: none;
}
.wcsr-modal-formside button[type="submit"] {
    margin: 0;
    padding: 13px 0;
    width: 188px;
    font-size: 1.3rem;
    font-weight: 500;
    background: #4285f4;
    color: #fff;
    border: none;
    border-radius: 7px;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}
.wcsr-modal-formside button[type="submit"]:hover {
    background: #2b5db6;
}
.wcsr-result {
    margin-top: 20px;
    font-size: 1.13rem;
}
.wcsr-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    transition: color 0.18s;
}
.wcsr-close:hover {
    color: #4285f4;
}

/* MOBILE layout */
@media (max-width: 700px) {
    .wcsr-modal-content {
        padding: 8px 2vw 6px 2vw;
        max-width: 360px;
        width: 98vw;
        min-width: 0;
        border-radius: 10px;
    }
    .wcsr-modal-flex {
        flex-direction: column;
        gap: 0;
        align-items: center;
        justify-content: flex-start;
    }
    .wcsr-modal-imgside {
        margin-bottom: 8px;
    }
    .wcsr-modal-imgside img {
        width: 110px;
        height: 154px;
        max-width: 32vw;
        max-height: 45vw;
    }
    .wcsr-modal-formside {
        min-width: 0;
        max-width: 98vw;
        width: 100%;
        align-items: center;
        padding: 0 0 5px 0;
    }
    .wcsr-modal-formside h2 {
        font-size: 1.1rem;
        margin-bottom: 13px;
        margin-top: 4px;
        text-align: center;
    }
    .wcsr-custom-message {
        text-align: center;
        font-size: 0.97rem;
        margin-bottom: 10px;
    }
    .wcsr-modal-formside form.wcsr-form {
        gap: 12px;
    }
    .wcsr-modal-formside label {
        font-size: 0.97rem;
        gap: 8px;
        justify-content: center;
    }
    .wcsr-modal-formside input[type="number"] {
        width: 70px;
        font-size: 0.96rem;
        padding: 6px 5px;
    }
    .wcsr-modal-formside button[type="submit"] {
        font-size: 0.97rem;
        width: 110px;
        padding: 8px 0;
        margin-top: 0;
        align-self: center;
    }
    .wcsr-result {
        margin-top: 10px;
        font-size: 0.99rem;
        text-align: center;
    }
    .wcsr-close {
        top: 4px;
        right: 12px;
        font-size: 22px;
    }
}