/* ============================================ */
/* PHOTO MODE - TÜM STİLLER */
/* ai/photo/photo-styles.css */
/* ============================================ */

/* ==================== */
/* CİNSİYET SEÇİMİ */
/* ==================== */

#step-gender .wizard-subtitle,
#step-categories .wizard-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.6);
    margin: 8px 0 24px 0;
    font-size: 14px;
}

.gender-cards {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.gender-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 160px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 10px;
}

.gender-card:hover {
    border-color: var(--accent, #00f2ff);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.2);
}

.gender-card.selected {
    border-color: var(--accent, #00f2ff);
    background: rgba(0, 242, 255, 0.15);
}

.gender-card .gender-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.gender-card .gender-icon.female-icon {
    background: linear-gradient(135deg, #ff6b9d, #e91e63);
    color: white;
}

.gender-card .gender-icon.male-icon {
    background: linear-gradient(135deg, #2196f3, #1976d2);
    color: white;
}

.gender-card .gender-emoji {
    font-size: 32px;
    line-height: 1;
}

.gender-card .gender-name {
    font-weight: 600;
    font-size: 15px;
    color: #fff;
}

/* ==================== */
/* KATEGORİ SEÇİMİ */
/* ==================== */

#category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
    max-height: 350px;
    overflow-y: auto;
    padding: 4px;
}

@media (min-width: 600px) {
    #category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.category-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 10px;
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 120px;
}

.category-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.category-card.selected {
    border-color: var(--accent, #00f2ff);
    background: rgba(0, 242, 255, 0.1);
}

.category-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.category-card .category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
    color: white;
}

.category-card .category-name {
    font-weight: 600;
    font-size: 12px;
    color: #fff;
    margin-bottom: 4px;
}

.category-card .category-desc {
    font-size: 10px;
    color: rgba(255,255,255,0.5);
    line-height: 1.3;
}

.category-card .category-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent, #00f2ff);
    color: #000;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.category-card.selected .category-check {
    display: flex;
}

.category-selection-info {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.category-selection-info #selected-count {
    font-weight: 700;
    color: var(--accent, #00f2ff);
    font-size: 20px;
}

/* ==================== */
/* UPLOAD BADGE */
/* ==================== */

.photo-mode-badge {
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.photo-mode-badge.hidden {
    display: none;
}

.selected-categories-preview {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.badge-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-category {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #fff;
}

/* ==================== */
/* LOADING EKRANI */
/* ==================== */

.photo-loading-animation {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
}

.photo-loading-circle {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255,255,255,0.1);
    border-top-color: var(--accent, #00f2ff);
    border-radius: 50%;
    animation: photo-spin 1s linear infinite;
}

.photo-loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: var(--accent, #00f2ff);
}

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

.photo-loading-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 0 20px;
}

.loading-category-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.loading-category-tag i {
    font-size: 14px;
}

.loading-category-tag.active {
    background: rgba(0, 242, 255, 0.2);
    color: var(--accent, #00f2ff);
    animation: pulse-tag 1.5s ease-in-out infinite;
}

@keyframes pulse-tag {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* ==================== */
/* SONUÇ EKRANI */
/* ==================== */

.photo-results-container {
    padding: 20px;
}

.photo-results-header {
    text-align: center;
    margin-bottom: 30px;
}

.photo-overall-score {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,242,255,0.2), rgba(139,92,246,0.2));
    border: 3px solid var(--accent, #00f2ff);
    margin-bottom: 16px;
}

.photo-overall-score .score-value {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.photo-overall-score .score-max {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.photo-results-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.photo-results-subtitle {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

/* Kategori Kartları Grid */
.photo-category-results {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
}

@media (min-width: 600px) {
    .photo-category-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Kategori Sonuç Kartı */
.photo-category-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.photo-category-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.photo-category-card.not-visible {
    opacity: 0.5;
}

.category-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.category-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-card-title i {
    font-size: 20px;
}

.category-card-title span {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.category-card-score {
    font-size: 24px;
    font-weight: 700;
}

.category-card-score.high { color: #22c55e; }
.category-card-score.medium { color: #f59e0b; }
.category-card-score.low { color: #ef4444; }

.category-card-body p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    margin-bottom: 16px;
}

.category-section {
    margin-top: 12px;
}

.category-section h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-section.positive h4 { color: #22c55e; }
.category-section.improve h4 { color: #f59e0b; }
.category-section.tips h4 { color: #8b5cf6; }

.category-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-section li {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.category-section li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(255,255,255,0.4);
}

/* Görünmüyor Uyarısı */
.not-visible-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.not-visible-notice i {
    font-size: 20px;
}

/* Öncelikli Aksiyon */
.photo-priority-action {
    background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(0,242,255,0.1));
    border: 1px solid rgba(139,92,246,0.3);
    border-radius: 16px;
    padding: 20px;
    margin-top: 24px;
}

.priority-action-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.priority-action-header i {
    color: #f59e0b;
    font-size: 20px;
}

.priority-action-header span {
    font-weight: 600;
    font-size: 16px;
    color: #fff;
}

.photo-priority-action p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
}

/* Genel Yorum */
.photo-general-comment {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 16px;
    margin-top: 20px;
}

.photo-general-comment p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    font-style: italic;
}
