/**
 * Blank Product Styles
 *
 * Styles for "Add Design Later" functionality
 *
 * @package PrintShopStudio
 */

/* Add Design Later Box */
.pss-blank-design-option {
    margin: 20px 0;
}

.pss-design-later-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f4fd 100%);
    border: 2px dashed #2271b1;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.pss-design-later-box:hover {
    border-style: solid;
    background: linear-gradient(135deg, #e8f4fd 0%, #d4e9f7 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.15);
}

.pss-design-later-box > .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: #2271b1;
    flex-shrink: 0;
}

.pss-design-later-content {
    flex: 1;
}

.pss-design-later-title {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.pss-design-later-desc {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.pss-add-design-later {
    flex-shrink: 0;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pss-add-design-later:hover,
.pss-add-design-link:hover {
    background: #135e96;
    transform: scale(1.02);
}

.pss-add-design-later:active,
.pss-add-design-link:active {
    transform: scale(0.98);
}

/* Link styled as button */
.pss-add-design-link {
    flex-shrink: 0;
    padding: 12px 24px;
    background: #2271b1;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
}

.pss-add-design-later.loading {
    opacity: 0.7;
    pointer-events: none;
}

.pss-add-design-later.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pss-spin 0.8s linear infinite;
}

@keyframes pss-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .pss-design-later-box {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }

    .pss-design-later-box > .dashicons {
        margin-bottom: 5px;
    }

    .pss-add-design-later {
        width: 100%;
        justify-content: center;
    }
}

/* Colour Selection Required Notice */
.pss-colour-required-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    margin-bottom: 15px;
}

.pss-colour-required-notice .dashicons {
    color: #856404;
}

.pss-colour-required-notice span {
    font-size: 13px;
    color: #856404;
}

