/* User Profile Pages - Minimalist CSS Design */

/* ===== GENEL STİLLER ===== */
.user-profile-section {
    padding: 1.5rem 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.user-profile-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.user-profile-section .section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.user-profile-section .section-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* ===== FAVORİLER SAYFASI ===== */
.user-profile-favorites {
    padding: 1.5rem 0;
}

.user-profile-favorites .favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.user-profile-favorites .favorite-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #eee;
}

.user-profile-favorites .favorite-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-profile-favorites .favorite-item-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.user-profile-favorites .favorite-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.user-profile-favorites .favorite-item:hover .favorite-product-image {
    transform: scale(1.05);
}

.user-profile-favorites .favorite-item-content {
    padding: 1.2rem;
}

.user-profile-favorites .favorite-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.user-profile-favorites .favorite-product-price {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.user-profile-favorites .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
    font-weight: 400;
}

.user-profile-favorites .current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e74c3c;
}

.user-profile-favorites .favorite-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
}

.user-profile-favorites .btn-view-product {
    background: #6d766f;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
    flex: 1;
    text-align: center;
    font-size: 0.8rem;
}

.user-profile-favorites .btn-view-product:hover {
    background: #5a615a;
    color: white;
}

.user-profile-favorites .btn-remove-favorite {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile-favorites .btn-remove-favorite:hover {
    background: #c82333;
}

.user-profile-favorites .favorites-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 6px;
    margin: 1.5rem 0;
    border: 1px solid #eee;
}

.user-profile-favorites .empty-icon {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 1.2rem;
}

.user-profile-favorites .favorites-empty h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.user-profile-favorites .favorites-empty p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.user-profile-favorites .btn-browse-products {
    background: #6d766f;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
    display: inline-block;
    font-size: 0.8rem;
}

.user-profile-favorites .btn-browse-products:hover {
    background: #5a615a;
    color: white;
}

/* ===== DEĞERLENDİRMELER SAYFASI ===== */
.user-profile-reviews {
    padding: 1.5rem 0;
}

.user-profile-reviews .reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.user-profile-reviews .review-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.user-profile-reviews .review-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-profile-reviews .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.user-profile-reviews .review-product-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.user-profile-reviews .review-product-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.user-profile-reviews .review-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.2rem;
}

.user-profile-reviews .review-date {
    font-size: 0.8rem;
    color: #666;
}

.user-profile-reviews .review-status {
    display: flex;
    gap: 0.4rem;
}

.user-profile-reviews .status-approved {
    background: #6d766f;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 500;
}

.user-profile-reviews .status-pending {
    background: #ffc107;
    color: #333;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.7rem;
    font-weight: 500;
}

.user-profile-reviews .review-content {
    margin-bottom: 1.2rem;
}

.user-profile-reviews .review-rating {
    margin-bottom: 0.8rem;
}

.user-profile-reviews .review-rating i {
    color: #ffc107;
    font-size: 1rem;
    margin-right: 0.2rem;
}

.user-profile-reviews .review-text {
    color: #333;
    line-height: 1.5;
    font-size: 0.9rem;
}

.user-profile-reviews .review-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: flex-end;
}

.user-profile-reviews .btn-edit-review {
    background: #6d766f;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
    font-size: 0.8rem;
}

.user-profile-reviews .btn-edit-review:hover {
    background: #5a615a;
    color: white;
}

.user-profile-reviews .btn-delete-review {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-profile-reviews .btn-delete-review:hover {
    background: #c82333;
}

.user-profile-reviews .reviews-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 6px;
    margin: 1.5rem 0;
    border: 1px solid #eee;
}

.user-profile-reviews .empty-icon {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 1.2rem;
}

.user-profile-reviews .reviews-empty h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.user-profile-reviews .reviews-empty p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.user-profile-reviews .btn-browse-orders {
    background: #6d766f;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
    display: inline-block;
    font-size: 0.8rem;
}

.user-profile-reviews .btn-browse-orders:hover {
    background: #5a615a;
    color: white;
}

/* ===== BİLDİRİMLER SAYFASI ===== */
.user-profile-notifications {
    padding: 1.5rem 0;
}

.user-profile-notifications .notifications-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.user-profile-notifications .notification-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    padding: 1.2rem;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.user-profile-notifications .notification-item.unread {
    border-left: 3px solid #6d766f;
    background: #f8f9fa;
}

.user-profile-notifications .notification-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.user-profile-notifications .notification-icon {
    font-size: 1.3rem;
    color: #6d766f;
    width: 35px;
    text-align: center;
}

.user-profile-notifications .notification-content {
    flex: 1;
}

.user-profile-notifications .notification-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
}

.user-profile-notifications .notification-message {
    color: #666;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    font-size: 0.8rem;
}

.user-profile-notifications .notification-time {
    font-size: 0.7rem;
    color: #999;
}

.user-profile-notifications .notification-actions {
    display: flex;
    gap: 0.4rem;
}

.user-profile-notifications .btn-mark-read,
.user-profile-notifications .btn-delete-notification {
    background: transparent;
    border: none;
    padding: 0.4rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.user-profile-notifications .btn-mark-read {
    color: #6d766f;
}

.user-profile-notifications .btn-mark-read:hover {
    background: #6d766f;
    color: white;
}

.user-profile-notifications .btn-delete-notification {
    color: #dc3545;
}

.user-profile-notifications .btn-delete-notification:hover {
    background: #dc3545;
    color: white;
}

.user-profile-notifications .notifications-empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border-radius: 6px;
    margin: 1.5rem 0;
    border: 1px solid #eee;
}

.user-profile-notifications .empty-icon {
    font-size: 2.5rem;
    color: #ccc;
    margin-bottom: 1.2rem;
}

.user-profile-notifications .notifications-empty h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.user-profile-notifications .notifications-empty p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== PAGINATION ===== */
.user-profile-reviews .reviews-pagination,
.user-profile-notifications .notifications-pagination {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.user-profile-reviews .reviews-pagination .pagination,
.user-profile-notifications .notifications-pagination .pagination {
    display: flex;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-profile-reviews .reviews-pagination .page-item,
.user-profile-notifications .notifications-pagination .page-item {
    margin: 0;
}

.user-profile-reviews .reviews-pagination .page-link,
.user-profile-notifications .notifications-pagination .page-link {
    background: #6d766f;
    color: white;
    padding: 0.6rem 0.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.user-profile-reviews .reviews-pagination .page-link:hover,
.user-profile-notifications .notifications-pagination .page-link:hover {
    background: #5a615a;
    color: white;
}

/* ===== RESPONSIVE TASARIM ===== */
@media (max-width: 768px) {
    .user-profile-favorites .favorites-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .user-profile-section .section-header h2 {
        font-size: 1.5rem;
    }
    
    .user-profile-reviews .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .user-profile-notifications .notification-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .user-profile-notifications .notification-actions {
        justify-content: center;
    }
    
    .user-profile-favorites .favorite-item-content,
    .user-profile-reviews .review-item,
    .user-profile-notifications .notification-item {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .user-profile-section .section-header h2 {
        font-size: 1.3rem;
    }
    
    .user-profile-favorites .favorite-item-actions {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .user-profile-reviews .review-actions {
        flex-direction: column;
        gap: 0.4rem;
    }
    
    .user-profile-favorites .favorite-item-content,
    .user-profile-reviews .review-item,
    .user-profile-notifications .notification-item {
        padding: 1rem;
    }
    
    .user-profile-favorites .btn-view-product,
    .user-profile-reviews .btn-edit-review {
        width: 100%;
        text-align: center;
    }
}

/* ===== ANİMASYONLAR ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-profile-favorites .favorite-item,
.user-profile-reviews .review-item,
.user-profile-notifications .notification-item {
    animation: fadeIn 0.3s ease-out;
}

/* ===== LOADING STATES ===== */
.user-profile-section .loading {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.user-profile-section .loading i {
    font-size: 1.5rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
} 