/* 
* Main Stylesheet for CryptoYield HYIP Platform
*/

:root {
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --light: #f8f9fa;
    --dark: #343a40;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    padding-top: 20px;
    padding-bottom: 20px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.footer {
    margin-top: auto;
}

/* Card Styles */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
    border: none;
}

.card-header {
    font-weight: 600;
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
}

.card-body {
    padding: 1.5rem;
}

/* Dashboard Stats */
.stat-card {
    transition: transform 0.3s;
    cursor: pointer;
}

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

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Investment Plans */
.plan-card {
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.plan-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 0.5rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Tables */
.table th {
    font-weight: 600;
    background-color: #f8f9fa;
}

.transaction-table tr {
    transition: background-color 0.2s;
}

.transaction-table tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.text-small {
    font-size: 0.875rem;
}

/* Buttons */
.btn {
    border-radius: 0.25rem;
    padding: 0.375rem 1rem;
    font-weight: 500;
}

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

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* Forms */
.form-control {
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
}

.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    border-color: #80bdff;
}

/* Navigation */
.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #fff;
}

/* Crypto Icons */
.crypto-icons li {
    margin-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.6);
}

.crypto-icons i {
    margin-right: 0.5rem;
}

/* Wallet Addresses */
.wallet-address {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
    word-break: break-all;
}

/* Copy button */
.copy-btn {
    cursor: pointer;
}

/* Status tags */
.status-tag {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background-color: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.status-pending {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-completed {
    background-color: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

.status-rejected {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

/* Hero Section */
.hero-section {
    padding: 5rem 0;
    background-color: #fff;
}

/* Features Section */
.features-section .card {
    height: 100%;
    transition: transform 0.3s;
}

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

/* Testimonials */
.testimonials-section .card {
    height: 100%;
}

/* Admin Dashboard */
.admin-sidebar {
    min-height: calc(100vh - 60px);
    background-color: #343a40;
    padding-top: 1rem;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.75);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    margin-bottom: 0.25rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.admin-sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* Charts */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .hero-section {
        padding: 3rem 0;
    }
    
    .admin-sidebar {
        min-height: auto;
    }
}
