/* Photo to Anime Converter - Tool Styles */

.preview-box {
    position: relative;
    text-align: center;
}

.preview-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1;
}

[data-bs-theme="dark"] .preview-label {
    background: rgba(255, 255, 255, 0.2);
}

.preview-box img,
.preview-box canvas {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Style Selection Cards */
.style-card {
    position: relative;
    padding: 0;
    margin: 0;
}

.style-card .form-check-input {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}

.style-card .form-check-label {
    display: block;
    cursor: pointer;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px;
    transition: all 0.2s ease;
    text-align: center;
}

.style-card .form-check-input:checked + .form-check-label {
    border-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.05);
}

[data-bs-theme="dark"] .style-card .form-check-label {
    border-color: #495057;
}

[data-bs-theme="dark"] .style-card .form-check-input:checked + .form-check-label {
    border-color: var(--bs-primary);
    background-color: rgba(13, 110, 253, 0.15);
}

.style-card:hover .form-check-label {
    border-color: var(--bs-primary);
}

.style-preview {
    width: 100%;
    height: 60px;
    border-radius: 6px;
    margin-bottom: 8px;
    background-size: cover;
    background-position: center;
}

.hayao-preview {
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #F0E68C 100%);
}

.shinkai-preview {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #ff6b6b 100%);
}

.style-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.style-desc {
    font-size: 0.8rem;
    color: #6c757d;
}

[data-bs-theme="dark"] .style-desc {
    color: #adb5bd;
}
