/* Common Card Wrapper Style */
.pod-card-wrapper {
    margin-bottom: 20px;
    clear: both;
}

/* 1. Upload Design Card */
.pod-media-upload-card {
    background: #ffffff;
    border: 1px dashed #c4c4c4;
    padding: 18px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.pod-media-upload-card:hover {
    border-color: #888;
}
.pod-media-upload-card label {
    display: block;
    font-size: 16px;
    margin-bottom: 12px;
    color: #333;
}
.pod-media-upload-card label .required {
    color: #e2401c;
    font-weight: bold;
}
.pod-media-upload-card input[type="file"] {
    display: block;
    width: 100%;
    padding: 5px 0;
    cursor: pointer;
}
.pod-upload-note {
    font-size: 13px;
    color: #777;
    margin-top: 10px;
    margin-bottom: 0;
    line-height: 1.4;
}

/* 2. Notice Box Card */
.pod-notice-card {
    padding: 15px 20px;
    border-radius: 6px;
    line-height: 1.5;
    /* Background and color are set inline from settings */
}
.pod-notice-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}
.pod-notice-item:last-child {
    margin-bottom: 0;
}
.pod-notice-item .pod-icon {
    margin-right: 10px;
    font-size: 1.2em;
    opacity: 0.8;
}

/* 3. Text Customization Card */
.pod-text-customization-card {
    /* No background/border by default, just structured nicely */
}
.pod-text-customization-card .pod-text-label {
    display: block;
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}
.pod-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.pod-input-group input[type="text"] {
    width: 100%;
    padding: 12px 45px 12px 15px; /* right padding makes room for icon */
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    box-shadow: none;
}
.pod-input-group input[type="text"]:focus {
    border-color: #aaa;
    outline: none;
}

/* Tooltip & Info Icon styling */
.pod-tooltip-container {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
}
.pod-info-icon {
    background: #111;
    color: #fff;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    cursor: help;
    font-family: serif;
    font-style: italic;
}

/* CSS Tooltip Hover Effect */
.pod-tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 999;
    bottom: 140%; /* Position above the icon */
    right: 50%;
    transform: translateX(50%);
    width: 220px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    line-height: 1.4;
    font-family: sans-serif;
    font-style: normal;
    pointer-events: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.pod-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.pod-tooltip-container:hover .pod-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Product Floating Video styles */
.pod-floating-video-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 250px;
    height: 440px; /* 9:16 aspect ratio roughly */
    background: #000;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 99999;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: bottom right;
}
.pod-floating-video-wrapper.pod-video-hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}
.pod-floating-video-wrapper .pod-video-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pod-floating-video-wrapper .pod-video-close:hover {
    background: rgba(0,0,0,0.8);
}
.pod-floating-video-wrapper .pod-video-inner {
    width: 100%;
    height: 100%;
    position: relative;
}
.pod-floating-video-wrapper iframe,
.pod-floating-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .pod-floating-video-wrapper {
        width: 180px;
        height: 320px;
        bottom: 20px;
        right: 20px;
    }
}
@media (max-width: 480px) {
    .pod-floating-video-wrapper {
        width: 120px;
        height: 213px; /* Keep vertical aspect */
        bottom: 15px;
        right: 15px;
    }
}

