:root {
    --primary-blue: #0d6efd;
    --custom-blue: #0056b3;
    --success-green: #198754;
    --warning-yellow: #fff3cd;
    --light-gray: #f8f9fa;
    --danger-red: #dc3545;
    --expired: #e7e7e7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #212529;
}

/* Header Styles */
.header {
    background-color: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: #212529;
    text-decoration: none;
}

.nav-link-custom {
    color: #212529;
    text-decoration: none;
    font-size: 1rem;
}

.nav-link-custom:hover {
    color: var(--primary-blue);
}

/* Signal Cards */
.signal-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.15s ease-in-out;
}

.signal-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.signal-header {
    position: relative;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.signal-symbol {
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.signal-status {
    font-size: 0.875rem;
    color: var(--success-green);
    font-weight: 500;
}

.buy-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--success-green);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 1.5rem;
}

.sell-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--danger-red);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    border-radius: 1.5rem;
}

.signal-details {
    padding: 0.75rem 1rem;
}

.detail-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.15rem;
}

.detail-value {
    font-size: 0.8rem;
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.5rem;
}

.detail-value.green {
    color: var(--success-green);
    font-weight: 600;
}

.signal-details-table {
    width: 100%;
    border-collapse: collapse;
}

.signal-details-table .detail-label,
.signal-details-table .detail-value {
    padding: 0.2rem 0;
    margin-bottom: 0;
    vertical-align: top;
}

.signal-details-table .detail-label {
    padding-right: 0.5rem;
    white-space: nowrap;
}

.see-more-link {
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #dee2e6;
    margin-top: 0.75rem;
}

.see-more-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
}

.see-more-link a:hover {
    text-decoration: underline;
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: var(--warning-yellow);
    border: 1px solid #dee2e6;
    padding: 2rem;
    margin: 3rem 0;
}

.disclaimer-heading {
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.disclaimer-text {
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: center;
}

/* Feature Sections */
.feature-section {
    padding: 3rem 0;
}

.feature-card {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 2rem;
    height: 100%;
}

.feature-heading {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
}

.feature-list li i {
    color: var(--success-green);
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

/* Blue Banner */
.blue-banner {
    background-color: var(--custom-blue);
    color: white;
    padding: 3rem 0;
    margin: 3rem 0;
}

.blue-banner-heading {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blue-banner-text {
    font-size: 1rem;
    opacity: 0.95;
}

/* Three Column Section */
.three-column-section {
    padding: 3rem 0;
}

.section-heading {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.subsection-heading {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.subsection-heading:first-child {
    margin-top: 0;
}

.image-container {
    background-color: var(--light-gray);
    border: 2px dashed #dee2e6;
    border-radius: 0.375rem;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-container-placeholder {
    color: #6c757d;
    font-size: 0.875rem;
    text-align: center;
}

/* Suitable Section */
.suitable-section {
    padding: 3rem 0;
    background-color: var(--light-gray);
}

.suitable-heading {
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.suitable-list {
    list-style: none;
    padding: 0;
}

.suitable-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.suitable-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #212529;
    font-weight: bold;
}

.checkmark-separator {
    text-align: center;
    font-size: 3rem;
    color: var(--success-green);
    margin: 2rem 0;
}

/* Footer */
.footer {
    background-color: var(--custom-blue);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Pagination Link */
.pagination-link {
    text-align: center;
    margin: 2rem 0;
}

.pagination-link a {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 1rem;
}

.pagination-link a:hover {
    text-decoration: underline;
}

/* Table Style Signals */
.signals-table-container {
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    overflow: hidden;
    background-color: white;
}

.signals-table {
    margin-bottom: 0;
}

.signals-table thead {
    background-color: var(--light-gray);
}

.signals-table thead th {
    font-weight: 700;
    font-size: 0.875rem;
    color: #212529;
    padding: 1rem 0.75rem;
    border-bottom: 2px solid #dee2e6;
    text-align: left;
    vertical-align: middle;
}

.signals-table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
    font-size: 0.875rem;
}

.signals-table tbody tr:hover {
    background-color: #f8f9fa;
}

.signals-table tbody tr:last-child td {
    border-bottom: none;
}

.table-status-active {
    color: var(--success-green);
    font-weight: 500;
    font-size: 0.875rem;
}

.table-status-expired {
    color: #6c757d;
    font-weight: 500;
    font-size: 0.875rem;
}

.table-buy-btn {
    background-color: var(--success-green);
    border: none;
    color: white;
    padding: 0.375rem 1rem;
    font-weight: 600;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    display: inline-block;
}

.table-sell-btn {
    background-color: var(--danger-red);
    border: none;
    color: white;
    padding: 0.375rem 1rem;
    font-weight: 600;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    display: inline-block;
}

.table-symbol {
    font-weight: 700;
    font-size: 1rem;
    color: #212529;
}

.table-price {
    font-weight: 500;
    color: #212529;
}

.table-price-positive {
    color: var(--success-green);
    font-weight: 600;
}

.table-price-negative {
    color: var(--danger-red);
    font-weight: 600;
}

.table-action-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-size: 0.875rem;
}

.table-action-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .signals-table-container {
        overflow-x: auto;
    }

    .signals-table {
        min-width: 800px;
    }
}

.fs-7 {
    font-size: 12px !important;
}

.bg-expired {
    background-color: var(--expired) !important;
}