/* Modern Dashboard Styles */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --background-color: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --gradient-earning: linear-gradient(135deg, #f59e0b 0%, #10b981 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    background: url(../media/images/loading-screen.png) center center/cover, var(--gradient-earning);
    background-attachment: fixed;
    font-family: "Inter", sans-serif;
    color: var(--text-primary);
}

.footer{
    background: var(--gradient-primary);
    color: var(--white);
}

.signup-sucess-msg{
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--success-color);
    padding: 20px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-bootom-text{
    text-align: center; 
    font-size: 1rem; 
    font-weight: 500;
    color: var(--text-secondary);
}

.login-aside{
    background: var(--gradient-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.center{
    text-align: center;
}

.refer-text{
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

.refer-url{
    margin-top: 3rem;
    padding-left: 2rem;
    padding-right: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mb-7{
    margin-bottom: 7rem;
}

.topbar-username{
    min-width: fit-content;
    font-weight: 600;
    color: var(--text-primary);
}

.topbar-icon{
    min-width: 40px;
    color: var(--primary-color);
}

.user-card{
    background: var(--gradient-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
}

.widget-new-feature{
    min-height: 300px;
    background: var(--gradient-secondary);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.widget-new-feature:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: url('https://www.droidoxy.com/preview/ic_refer_and_earn.png') no-repeat center;
    background-size: contain;
    opacity: 0.2;
}

.home-chart{
    height: 120px;
    width: 250px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.home-chartjs{
    display: block;
    height: 135px;
    width: 250px;
    border-radius: 12px;
    background: var(--white);
    padding: 10px;
    box-shadow: var(--shadow-md);
}

.refer-stats-icon{
    display: flex;
    font-size: 3em;
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

/* v3.6 UPDATE BELOW */

.checkin-timer{
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.daily-checkin-taken-title{
    display: none;
}

.daily-checkin-try-again{
    display: none;
}

.alert-text{
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.loading_screen{
    background: var(--white);
    min-height: 400px;
    padding: 200px 0;
    text-align: center;
    width: 100%;
    z-index: 3;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

/* Modern Card Styles */
.card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 20px;
    border-bottom: none;
    font-weight: 600;
}

.card-body {
    padding: 25px;
}

/* Modern Button Styles */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-success {
    background: var(--gradient-secondary);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #f97316 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Form Styles */
.form-control {
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Modern Table Styles */
.table {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table thead th {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 15px;
}

.table tbody td {
    padding: 15px;
    border-color: #e2e8f0;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* Modern Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 0 0 20px 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    margin: 0 4px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-link.active {
    color: var(--white);
    background: var(--gradient-primary);
}

/* Modern Sidebar */
.sidebar {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar .nav-item {
    margin: 4px 0;
}

.sidebar .nav-link {
    border-radius: 12px;
    margin: 0 8px;
    padding: 12px 16px;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar .nav-link:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background: var(--gradient-primary);
    color: var(--white);
}

/* Modern Stats Cards */
.stats-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stats-card .icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    margin-bottom: 20px;
}

.stats-card .value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stats-card .label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Modern Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Modern Badges */
.badge {
    border-radius: 8px;
    padding: 6px 12px;
    font-weight: 600;
    font-size: 12px;
}

.badge-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.badge-success {
    background: var(--gradient-secondary);
    color: var(--white);
}

.badge-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #f97316 100%);
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 991px) {
    .home-chart,
    .home-chartjs {
        width: 100%;
        max-width: 300px;
    }
    
    .refer-stats-icon {
        font-size: 2.5em;
        width: 70px;
        height: 70px;
    }
    
    .checkin-timer {
        font-size: 28px;
    }
    
    .stats-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
    
    .refer-url {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .stats-card .value {
        font-size: 24px;
    }
    
    .stats-card .icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

