/**
 * DUET 產品攝影模組 - 樣式
 */

/* 開發者功能按鈕容器 */
#devFeaturesContainer {
    display: flex;
    gap: 8px;
}

/* 產品攝影面板 */
.photo-studio-panel {
    display: none;
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    overflow: hidden;
}

.photo-studio-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.photo-studio-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.photo-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-close-btn:hover {
    opacity: 1;
}

.photo-studio-content {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}

.photo-setting-group {
    margin-bottom: 20px;
}

.photo-setting-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.photo-radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.photo-radio-group label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
}

.photo-radio-group input[type="radio"] {
    cursor: pointer;
}

.photo-angle-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.photo-angle-buttons button {
    padding: 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 13px;
    font-weight: 500;
}

.photo-angle-buttons button:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-1px);
}

.photo-angle-buttons button:active {
    transform: translateY(0);
}

.photo-primary-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.photo-primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.photo-primary-btn:active {
    transform: translateY(0);
}

.photo-secondary-btn {
    width: 100%;
    padding: 12px;
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.photo-secondary-btn:hover {
    background: #667eea;
    color: white;
}

.photo-secondary-btn:active {
    transform: scale(0.98);
}

/* 開發者功能按鈕 */
.dev-feature-btn {
    position: fixed;
    bottom: 80px;
    right: 20px;
    padding: 12px 20px;
    background: rgba(102, 126, 234, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    z-index: 1000;
    transition: all 0.3s;
}

.dev-feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: rgba(102, 126, 234, 1);
}

.dev-feature-btn:active {
    transform: translateY(0);
}

/* 手機適配 */
@media (max-width: 768px) {
    .photo-studio-panel {
        width: 90%;
        right: 5%;
        left: 5%;
    }
    
    .dev-feature-btn {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }
}
