.container-custom {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 50px;
    max-width: 1200px;
    animation: fadeInDown 1s ease-out;
}
h1 {
    color: #1e3c72;
    font-weight: 700;
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.subtitle {
    color: #34495e;
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 400;
}
.step {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    border-left: 5px solid #2a5298;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.step:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.step-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}
.step-text {
    color: #2c3e50;
    font-size: 1.1em;
    padding-top: 40px;
    text-align: left;
}
.step-text strong {
    color: #1e3c72;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.arrow {
    color: #2a5298;
    font-size: 2em;
    margin: 0 30px;
    animation: bounce 1.5s infinite;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@media (max-width: 768px) {
    .container-custom {
        padding: 30px;
    }
    .step {
        margin-bottom: 40px;
    }
    .arrow {
        display: none;
    }
    h1 {
        font-size: 2em;
    }
}
.gain-loss-positive {
    color: green;
}
.gain-loss-negative {
    color: red;
}

/* Modern Table Styling */
.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    color: #333;
}

.modern-table thead tr {
    background: #f8fafc;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.modern-table th,
.modern-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.3s ease;
}

.modern-table th {
    font-weight: 600;
    color: #64748b;
}

.modern-table tbody tr:hover {
    background: #f1f5f9;
    transition: background 0.2s ease;
}

/* Company Info Styling */
.company-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.company-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

.company-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
}

.company-symbol {
    margin: 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.company-link {
    text-decoration: none;
    color: inherit;
}

.company-link:hover .company-name {
    color: #3b82f6;
}

/* Gain/Loss Styling */
.gain-positive {
    color: #22c55e;
    font-weight: 500;
}

.gain-negative {
    color: #ef4444;
    font-weight: 500;
}

.arrow {
    margin-left: 8px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-table th,
    .modern-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .company-logo {
        width: 28px;
        height: 28px;
    }

    .company-name {
        font-size: 0.95rem;
    }

    .company-symbol {
        font-size: 0.8rem;
    }
}

/* Additional Styling for Small Screens */
@media (max-width: 576px) {
    .modern-table {
        font-size: 0.85rem;
    }

    .company-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .company-logo {
        width: 24px;
        height: 24px;
    }
}

.modern-table th, .modern-table td {
    vertical-align: middle;
    padding: 12px;
}

.modern-table .company-link {
    text-decoration: none;
    color: inherit;
}

.modern-table .company-link:hover {
    color: #007bff;
}

.modern-table .company-name {
    font-weight: 600;
    font-size: 16px;
}

.modern-table .company-symbol {
    font-size: 14px;
}
.shadow{
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}
.avatar.avatar-wallet{
    height: 60px;
    width: auto;
    object-fit: contain;
}
.feature.feature-primary .icons i{
    color: #7c3aed !important;
}

/* Modern Search Container */
.modern-search-container {
    margin: 0 auto; /* Center the search box */
    transition: all 0.3s ease-in-out;
}

/* Input Group Styling */
.modern-search-container .input-group {
    background-color: #fff;
    border-radius: 25px; /* Rounded corners for a modern look */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border: 1px solid #e0e0e0; /* Light border for clarity */
    transition: all 0.3s ease-in-out;
}

/* Hover and Focus Effect for Input Group */
.modern-search-container .input-group:hover,
.modern-search-container .input-group:focus-within {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Stronger shadow on hover/focus */
    border-color: #007bff; /* Highlight border on hover/focus */
    transform: scale(1.02); /* Slight scale-up for emphasis */
}

/* Search Icon Styling */
.modern-search-container .input-group-text {
    background: transparent;
    border: none;
    padding: 0.5rem 0.75rem;
}

.modern-search-container .search-icon {
    color: #6c757d; /* Muted color for the icon */
    transition: color 0.3s ease-in-out;
}

.modern-search-container .input-group:hover .search-icon,
.modern-search-container .input-group:focus-within .search-icon {
    color: #007bff; /* Highlight icon color on hover/focus */
}

/* Input Styling */
.modern-search-container .modern-search-input {
    border: none;
    background: transparent;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    color: #333;
    outline: none;
    transition: all 0.3s ease-in-out;
}

.modern-search-container .modern-search-input::placeholder {
    color: #adb5bd; /* Light placeholder color */
    font-style: italic;
}

.modern-search-container .modern-search-input:focus {
    color: #212529;
    background: transparent;
    box-shadow: none; /* Remove default Bootstrap shadow on focus */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modern-search-container {
        max-width: 100%;
    }

    .modern-search-container .input-group {
        border-radius: 20px;
        padding: 0.25rem;
    }

    .modern-search-container .modern-search-input {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* No Results Message Styling */
.no-results-message {
    background-color: #f8f9fa; /* Light background for contrast */
    border-radius: 15px; /* Rounded corners */
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d; /* Muted text color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .no-results-message {
        font-size: 1rem;
        padding: 1rem;
        margin: 1rem 0;
    }
}

.chart-container {
    position: relative;
    height: 450px;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background-color: #f9f9f9;
}

.stock-header {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
}

.stock-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1e3c72;
}

.stock-subtext {
    font-size: 0.9rem;
    color: #666;
}

.form-container {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-custom {
    background-color: #1e3c72;
    border: none;
    color: white;
    font-weight: 500;
}

.btn-custom:hover {
    background-color: #1e3c72;
    color: #fff;
}

.timeframe-btn {
    background-color: #f1f1f1;
    color: #333;
    border: 1px solid #ddd;
}

.timeframe-btn.active {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    /*border-color: #1e3c72;*/
}

.company-logo {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.chart-container {
    height: 300px;
}


.stock-header {
    font-size: 1.5rem;
    font-weight: 600;
}

.stock-subtext {
    font-size: 0.875rem;
    color: #6c757d;
}

.stock-price {
    font-size: 1.25rem;
    font-weight: 600;
}

.timeframe-btn {
    border: 1px solid #dee2e6;
    color: #6c757d;
}

.timeframe-btn:hover {
    background-color: #e9ecef;
}

.timeframe-btn.active {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.stock-price {
    font-size: 1.5rem;
    font-weight: bold;
}

.stock-subtext {
    font-size: 1rem;
    color: #666;
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.faq-item {
    background-color: #f8f7ff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
}

.faq-item .accordion-button {
    background-color: #f8f7ff;
    color: #333;
    font-weight: 500;
    padding: 15px 20px;
}

.faq-item .accordion-button:not(.collapsed) {
    background-color: #f8f7ff;
    color: #333;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
}

.faq-item .accordion-body {
    padding: 15px 20px;
    color: #666;
}

.faq-item .accordion-button::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: bold;
    color: #6c63ff;
    background-image: none;
}

.faq-item .accordion-button:not(.collapsed)::after {
    content: '−';
    background-image: none;
}

.form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.btn-custom {
    background: #f8f9fa;
    border: 1px solid #ced4da;
    color: #495057;
    transition: all 0.3s;
}
#submitBtn{
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
}

.btn-custom:hover {
    background: #e9ecef;
}

.btn-custom.active {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    /*border-color: #0d6efd;*/
}

.stock-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #198754;
    margin: 0;
}
.nav-tabs .nav-link {
    font-weight: 600;
    font-size: 1.1rem;
    color: #4a5568; /* Dark gray for inactive tabs */
    border: none;
    border-radius: 0.5rem 0.5rem 0 0;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    background-color: #e2e8f0; /* Light gray hover effect */
    color: #2d3748; /* Slightly darker gray on hover */
}

.nav-tabs .nav-link.active {
    background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%); /* Gradient from indigo to purple */
    color: #ffffff; /* White text for active tab */
    border-bottom: 3px solid #ffffff; /* White bottom border for active tab */
}

.nav-tabs-container {
    background-color: #ffffff; /* White background for the tab container */
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .nav-tabs .nav-link {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
    }
}

.input-group {
    border: 1px solid #dee2e6;
    border-radius: 25px;
    overflow: hidden;
}

.input-group-text {
    border-right: none;
    padding: 0.5rem 0.75rem;
}

.form-control {
    padding: 0.5rem 1rem;
    border-left: none;
}

.form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}

.form-control::placeholder {
    color: #6c757d;
}

.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1) !important;
}

.card {
    transition: transform 0.3s ease;
}
