/* Global Styles - Used across all pages */

:host {
    --primary-color: #007bff;
    --primary-hover: #0069d9;
    --success-color: #28a745;
    --success-hover: #218838;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-dark: #212529;
    --text-medium: #6c757d;
    --text-light: #adb5bd;
    --cointracking-blue: #1a365d;
    --cointracking-light-blue: #3182ce;
}

/* Global Typography */
body {
    font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Typography Scale */
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.75rem; font-weight: 600; }
h4 { font-size: 1.5rem; font-weight: 600; }
h5 { font-size: 1.25rem; font-weight: 600; }
h6 { font-size: 1.1rem; font-weight: 600; }

/* Global Button Overrides */
.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-width: 2px;
    letter-spacing: 0.025em;
}

.btn-outline-secondary {
    color: #000;
    border-color: #000;
    background-color: transparent;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.btn-success:hover {
    background-color: var(--success-hover);
    border-color: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

/* Global Card Styles */
.card {
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
}

/* Global Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }

/* Global Link Styles */
a {
    color: var(--cointracking-light-blue);
    text-decoration: none;
}

a:hover {
    color: var(--cointracking-blue);
    text-decoration: underline;
}

/* Global Utility Classes */
.text-cointracking-blue {
    color: var(--cointracking-blue) !important;
}

.text-cointracking-light-blue {
    color: var(--cointracking-light-blue) !important;
}

.bg-light-gray {
    background-color: #f8fafc !important;
}

/* Global Section Spacing */
.section-padding {
    padding: 4rem 0;
}

.section-padding-sm {
    padding: 2rem 0;
}

/* Global Container Max Width */
.container-custom {
    max-width: 1200px;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section-padding {
        padding: 2rem 0;
    }
}

.wrapper {
    font-size: unset;
}