/* Main Theme Colors */
:root {
    --primary-color: #ff9f43;
    --primary-light: #ffc078;
    --primary-dark: #d98933;
    --secondary-color: #2e86de;
    --light-color: #f5f6fa;
    --dark-color: #2f3640;
    --success-color: #4cd137;
    --danger-color: #e84118;
    --warning-color: #fbc531;
    --info-color: #22a6b3;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

/* RTL Text Alignment */
.text-start {
    text-align: left !important;
}

.text-end {
    text-align: right !important;
}

/* Gradient Header */
.gradient-header {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2rem 0;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

/* Investment Cards */
.investment-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;
}

.investment-card:hover {
    transform: translateY(-5px);
}

.investment-card .card-header {
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    padding: 15px;
}

.investment-card .card-body {
    padding: 1.5rem;
}

.investment-card .card-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
    padding: 15px;
}

.investment-card .profit-rate {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.investment-card .amount {
    font-size: 20px;
    color: var(--dark-color);
}

/* Dashboard Stats */
.stat-card {
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card .stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #777;
    font-size: 1rem;
}

/* Forms */
.form-container {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 159, 67, 0.25);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Tables */
.custom-table {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-table thead {
    background-color: var(--primary-color);
    color: white;
}

.custom-table th, .custom-table td {
    padding: 15px;
}

/* Copy Field */
.copy-field {
    position: relative;
    margin-bottom: 1rem;
}

.copy-field .form-control {
    /* padding-right: 100px; */
}

.copy-field .copy-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 10;
}

/* Profile Card */
.profile-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-card .profile-header {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2rem;
    text-align: center;
}

.profile-card .profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid white;
    background-color: #f5f5f5;
    margin: 0 auto 1rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-card .profile-img i {
    font-size: 3rem;
    color: #ccc;
}

.profile-card .profile-body {
    padding: 2rem;
}

.profile-card .info-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.profile-card .info-label {
    font-weight: bold;
    color: #777;
}

.profile-card .info-value {
    color: var(--dark-color);
}

/* Responsive Fixes */
@media (max-width: 768px) {
    .gradient-header {
        padding: 1.5rem 0;
    }
    
    .stat-card .stat-icon {
        font-size: 2rem;
    }
    
    .stat-card .stat-value {
        font-size: 1.5rem;
    }
    
    .form-container {
        /* padding: 1.5rem; */
        em; */
    }
}

/* Bottom Navigation for Mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #777;
    text-decoration: none;
    font-size: 0.8rem;
}

.bottom-nav a i {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.bottom-nav a.active {
    color: var(--primary-color);
}

/* Margins for Content (Mobile) */
@media (max-width: 768px) {
    body {
        margin-bottom: 70px;
    }
}

/* Hide Bottom Nav on Larger Screens */
@media (min-width: 992px) {
    .bottom-nav {
        display: none;
    }
}

/* File Upload */
.custom-file-upload {
    display: block;
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.custom-file-upload:hover {
    border-color: var(--primary-color);
}

.custom-file-upload i {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 10px;
}

.custom-file-upload p {
    margin-bottom: 0;
    color: #777;
}

/* Badge Styles */
.badge-vip {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: normal;
}

/* Status Badges */
.badge-active {
    background-color: var(--success-color);
}

.badge-pending {
    background-color: var(--warning-color);
}

.badge-completed {
    background-color: var(--info-color);
}

.badge-cancelled {
    background-color: var(--danger-color);
}