/**
 * Helpers
 */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

/**
 * Banners
 */

.banner-1{
    background-color: #EFD259;
    /*min-height: 250px;*/
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

@media (max-width: 600px) {
    .banner-1{
        height: 100px;
    }
}
.banner-1 .banner-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #252320;
}
.banner-1 p{
    color: #775107;
}
.banner-1 .banner-img{
    max-width: 250px;
    display: flex;
    align-items: center;
}
@media only screen and (max-width: 600px) {
    .banner-1 .banner-img{
        max-width: 200px;
    }
}
.banner-1 h1{
    font-weight: 500;
}
.banner-1 p{
    font-size: 0.8rem;
}

/**
 * Carousel
 */
.carousel{
    position: relative;
}
.carousel .carousel-description{
    position: absolute;
    bottom: 15px;
    left: 15px;
}
.carousel .carousel-description p{
    text-transform: uppercase;
    color: #f3f3f3;
    font-size: 0.8rem;
}
.carousel .carousel-description h2{
    font-weight: bold;
}
.carousel .carousel-description h3{
    font-size: 0.8rem;
    color: #CCC;
}
.carousel .carousel-item img {
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.4); /* Aqui você pode ajustar o deslocamento vertical e o desfoque */
}
.carousel .carousel-controls{
    top: 10px;
    right: 10px;
}
.carousel .carousel-inner .carousel-item img {
    border-radius: 20px;
}
.carousel-item {
    position: relative;
    overflow: hidden;
}

.image-shadow {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

:is(.dark .filament-versions-nav-widget) {
    color: white !important;
    border-color: #353333;
}

.show-in-dark{
    display: none;
}
:is(.dark .show-in-dark) {
    display: block;
}

.show-in-light {
    display: block;
}
:is(.dark .show-in-light) {
    display: none;
}

/**
 * User Section Styles
 * Kullanıcı sayfaları için özel stiller
 */

/* Profile Header */
.user-profile-header {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* User Detail Tabs */
.user-detail-tabs {
    background: linear-gradient(135deg, #1c2128 0%, #2d333b 100%);
    border-radius: 12px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.user-detail-tabs .fi-tabs-tab {
    color: #9ca3af;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.user-detail-tabs .fi-tabs-tab:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.user-detail-tabs .fi-tabs-tab-active {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border-color: transparent;
}

/* User Stats Cards */
.user-stats-card {
    background: linear-gradient(135deg, #1c2128 0%, #2d333b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.user-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* User Table Column Styles */
.user-info-column {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-info-column .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info-column .user-details {
    display: flex;
    flex-direction: column;
}

.user-info-column .user-name {
    font-weight: 600;
    color: #fff;
}

.user-info-column .user-id {
    font-size: 0.75rem;
    color: #9ca3af;
}

.user-contact-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #d1d5db;
}

.balance-detail-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.balance-main {
    font-weight: 600;
    color: #10b981;
}

.balance-bonus {
    font-size: 0.75rem;
    color: #f59e0b;
}

.financial-summary-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.financial-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.financial-item.deposits {
    color: #10b981;
}

.financial-item.withdrawals {
    color: #ef4444;
}

.status-activity-column {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-badge.online {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.status-badge.offline {
    background: rgba(107, 114, 128, 0.2);
    color: #9ca3af;
}

.last-seen {
    font-size: 0.75rem;
    color: #6b7280;
}

/* Table Widget Styles for Detail Page */
.table-widget-container {
    background: linear-gradient(135deg, #1c2128 0%, #2d333b 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.table-widget-container .fi-table {
    background: transparent;
}

.table-widget-container .fi-tables-record-attr {
    color: #d1d5db;
}

.table-widget-container .fi-tables-record-actions {
    opacity: 1;
}

/* Tab Content Animations */
.tab-content-enter {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* User Filter Tabs on List Page */
.fi-tabs [data-tab="with_balance"] .fi-tabs-tab-active {
    color: #10b981;
}

.fi-tabs [data-tab="passive"] .fi-tabs-tab-active {
    color: #f59e0b;
}

.fi-tabs [data-tab="affiliates"] .fi-tabs-tab-active {
    color: #8b5cf6;
}

.fi-tabs [data-tab="admins"] .fi-tabs-tab-active {
    color: #ef4444;
}
