.stockdio-widget-wrapper {
margin: 20px 0;
padding: 15px;
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.stockdio-widget-wrapper .ticker-label {
display: block;
color: #2c3e50;
font-weight: 600;
font-size: 16px;
margin-bottom: 12px;
padding-bottom: 8px;
border-bottom: 2px solid #28a745;
} .stockdio-widget-wrapper iframe {
border: none;
display: block;
margin: 0 auto;
max-width: 100%;
} .stockdio-chart-wrapper {
background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
} .stockdio-comparison-wrapper {
border-left: 4px solid #007bff;
} .stockdio-market-wrapper {
border-left: 4px solid #28a745;
padding: 20px;
} .stockdio-multiple-cards {
margin: 20px 0;
padding: 15px;
background: #f8f9fa;
border-radius: 8px;
}
.stockdio-multiple-cards .ticker-label {
display: block;
font-weight: 600;
font-size: 16px;
margin-bottom: 15px;
color: #2c3e50;
}
.stock-cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 15px;
margin-top: 10px;
}
.stock-card {
background: #ffffff;
border: 1px solid #e0e0e0;
border-radius: 6px;
padding: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stock-card:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
} .stock-tickers {
background: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%);
border-left: 4px solid #28a745;
padding: 15px 20px;
margin: 20px 0;
border-radius: 8px;
box-shadow: 0 3px 8px rgba(0,0,0,0.12);
font-size: 15px;
line-height: 1.6;
border: 1px solid #e9ecef;
} .ticker-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
flex-wrap: wrap;
gap: 10px;
} .ticker-sponsor {
display: flex;
align-items: center;
font-size: 13px;
color: #4a5568;
margin-left: auto;
background: rgba(255, 255, 255, 0.8);
padding: 4px 8px;
border-radius: 6px;
border: 1px solid #e2e8f0;
}
.sponsor-label {
margin-right: 6px;
font-weight: 500;
}
.sponsor-content {
display: flex;
align-items: center;
gap: 4px;
}
.sponsor-logo {
max-height: 20px;
max-width: 60px;
object-fit: contain;
}
.sponsor-name {
font-weight: 700;
color: #2d3748;
text-shadow: 0 1px 1px rgba(0,0,0,0.1);
} .stockdio-widget-wrapper .ticker-sponsor {
background: rgba(255, 255, 255, 0.9);
padding: 4px 8px;
border-radius: 4px;
margin-bottom: 8px;
justify-content: flex-end;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.stock-tickers .ticker-label {
color: #ffffff !important;
font-weight: 900;
margin-right: 10px;
font-size: 18px;
text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
background: transparent !important;
padding: 4px 8px;
border-radius: 6px;
border: none;
display: inline-block;
}
.stock-tickers .ticker-list {
display: inline-flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
}
.ticker-item {
display: inline-flex;
align-items: center;
padding: 10px 16px;
background: #ffffff;
border: 2px solid #cbd5e0;
border-radius: 8px;
transition: all 0.3s ease;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
box-shadow: 0 2px 6px rgba(0,0,0,0.15);
margin: 4px 6px;
min-height: 40px;
}
.ticker-item:hover {
border-color: #28a745;
box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
transform: translateY(-2px);
background: #f8fff9;
}
.ticker-symbol {
font-weight: 900;
color: #1e40af;
font-size: 16px;
letter-spacing: 0.8px;
font-family: 'Courier New', monospace;
text-shadow: 0 1px 2px rgba(0,0,0,0.2);
background: rgba(30, 64, 175, 0.1);
padding: 2px 6px;
border-radius: 4px;
border: 1px solid rgba(30, 64, 175, 0.2);
display: inline-block;
min-width: 40px;
text-align: center;
}
.ticker-link {
text-decoration: none;
color: inherit;
}
.ticker-link:hover .ticker-symbol {
color: #004999;
text-decoration: underline;
}
.ticker-name {
color: #2d3748;
font-size: 14px;
margin-left: 6px;
font-weight: 600;
text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}
.ticker-separator {
color: #dee2e6;
font-weight: 600;
margin: 0 4px;
} .inline-ticker {
display: inline;
white-space: nowrap;
}
.inline-ticker a {
color: #0066cc;
text-decoration: none;
font-weight: 500;
}
.inline-ticker a:hover {
text-decoration: underline;
}
.inline-ticker strong {
font-family: 'Courier New', monospace;
letter-spacing: 0.5px;
} @keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.stockdio-widget-wrapper.loading {
animation: pulse 1.5s ease-in-out infinite;
} @media screen and (max-width: 768px) {
.stockdio-widget-wrapper {
padding: 10px;
margin: 15px 0;
}
.stockdio-widget-wrapper .ticker-label {
font-size: 14px;
margin-bottom: 8px;
}
.stock-cards-grid {
grid-template-columns: 1fr;
gap: 10px;
}
.stock-tickers {
padding: 12px 15px;
font-size: 14px;
}
.ticker-item {
padding: 5px 10px;
font-size: 13px;
}
.ticker-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.ticker-sponsor {
align-self: flex-end;
font-size: 11px;
}
.sponsor-logo {
max-height: 16px;
max-width: 50px;
}
} @media print {
.stockdio-widget-wrapper iframe {
display: none;
}
.stockdio-widget-wrapper::after {
content: "Interactive stock chart - View online for live data";
display: block;
padding: 20px;
text-align: center;
background: #f0f0f0;
color: #666;
}
} @media (prefers-color-scheme: dark) {
.stockdio-widget-wrapper {
background: #2d3748;
border-color: #4a5568;
}
.stockdio-widget-wrapper .ticker-label {
color: #e2e8f0;
border-bottom-color: #48bb78;
}
.stockdio-multiple-cards {
background: #2d3748;
}
.stock-card {
background: #1a202c;
border-color: #4a5568;
}
.stock-tickers {
background: #2d3748;
border-left-color: #48bb78;
}
.ticker-item {
background: #1a202c;
border-color: #4a5568;
color: #e2e8f0;
}
.ticker-symbol {
color: #63b3ed;
}
.ticker-name {
color: #a0aec0;
}
.ticker-sponsor {
color: #a0aec0;
}
.sponsor-name {
color: #e2e8f0;
}
.stockdio-widget-wrapper .ticker-sponsor {
background: rgba(45, 55, 72, 0.9);
border-color: rgba(255, 255, 255, 0.1);
}
} .ticker-carousel {
overflow-x: auto;
overflow-y: hidden;
white-space: nowrap;
scroll-behavior: smooth;
-webkit-overflow-scrolling: touch;
}
.ticker-carousel .ticker-item {
display: inline-block;
white-space: nowrap;
} .stock-tickers.compact-mobile .ticker-item {
padding: 6px 12px;
margin: 2px 4px;
font-size: 12px;
}
.stock-tickers.compact-mobile .ticker-symbol {
font-size: 13px;
}
.stock-tickers.compact-mobile .ticker-name {
display: none;
} .fade-in-animation {
animation: fadeInUp 0.6s ease forwards;
opacity: 0;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.hover-animation .ticker-item {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.hover-animation .ticker-item:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}
.pulse-on-update .ticker-price {
transition: all 0.3s ease;
}
.pulse-on-update .ticker-price.pulse-update {
animation: priceUpdate 1s ease;
}
@keyframes priceUpdate {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.1); background-color: rgba(40, 167, 69, 0.2); }
} .nexsouk-theme-light .stock-tickers {
background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
border-left-color: #28a745;
color: #2c3e50;
}
.nexsouk-theme-light .ticker-label {
color: #ffffff !important;
background: transparent !important;
text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
}
.nexsouk-theme-dark .stock-tickers {
background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
border-left-color: #48bb78;
color: #e2e8f0;
}
.nexsouk-theme-dark .ticker-label {
color: #ffffff !important;
background: transparent !important;
text-shadow: 1px 1px 2px rgba(0,0,0,0.9) !important;
}
.nexsouk-theme-dark .ticker-item {
background: #1a202c;
border-color: #4a5568;
color: #e2e8f0;
}
.nexsouk-theme-dark .ticker-symbol {
color: #63b3ed;
background: rgba(99, 179, 237, 0.1);
}
.nexsouk-theme-dark .ticker-name {
color: #a0aec0;
}
.nexsouk-theme-custom { color: inherit;
} .ticker-item.focused {
outline: 3px solid #007bff;
outline-offset: 2px;
background: rgba(0, 123, 255, 0.1);
z-index: 5;
position: relative;
}
.ticker-item[tabindex="0"]:focus {
outline: 3px solid #007bff;
outline-offset: 2px;
} .nexsouk-high-contrast .stock-tickers {
background: #ffffff !important;
border: 3px solid #000000 !important;
color: #000000 !important;
}
.nexsouk-high-contrast .ticker-item {
background: #ffffff !important;
border: 2px solid #000000 !important;
color: #000000 !important;
}
.nexsouk-high-contrast .ticker-symbol {
background: #000000 !important;
color: #ffffff !important;
font-weight: 900 !important;
}
.nexsouk-high-contrast .ticker-name {
color: #000000 !important;
font-weight: 700 !important;
} .ticker-price .current-price {
font-family: 'Courier New', monospace;
font-weight: 700;
color: #2563eb;
}
.ticker-price .price-change {
font-size: 0.85em;
font-weight: 600;
margin-left: 4px;
padding: 1px 4px;
border-radius: 3px;
}
.ticker-price .price-change.price-positive {
background: rgba(22, 163, 74, 0.1);
color: #16a34a;
}
.ticker-price .price-change.price-negative {
background: rgba(239, 68, 68, 0.1);
color: #ef4444;
}
.ticker-price.loading {
opacity: 0.6;
position: relative;
}
.ticker-price.loading::after {
content: '';
position: absolute;
top: 50%;
right: -20px;
width: 12px;
height: 12px;
border: 2px solid #e5e7eb;
border-top: 2px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
}
.ticker-price.error {
color: #6b7280;
font-style: italic;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} @media screen and (max-width: 480px) {
.stock-tickers {
padding: 8px 12px;
margin: 10px 0;
}
.ticker-item {
padding: 4px 8px;
margin: 2px 3px;
min-width: 80px;
}
.ticker-symbol {
font-size: 12px;
}
.ticker-name {
font-size: 11px;
}
.ticker-price {
font-size: 10px;
}
.ticker-carousel-wrapper {
padding: 0 25px;
}
.ticker-nav {
width: 25px;
height: 25px;
font-size: 14px;
}
}
@media screen and (min-width: 481px) and (max-width: 768px) {
.ticker-item {
min-width: 100px;
}
} @media print {
.stock-tickers {
background: white !important;
border: 2px solid #000 !important;
box-shadow: none !important;
page-break-inside: avoid;
}
.ticker-item {
background: white !important;
border: 1px solid #000 !important;
box-shadow: none !important;
}
.ticker-symbol {
background: #f0f0f0 !important;
color: #000 !important;
}
.ticker-nav,
.ticker-price.loading::after {
display: none !important;
}
.ticker-price .price-change {
background: transparent !important;
border: 1px solid #000;
}
} .nexsouk-widget-floating {
position: fixed;
bottom: 20px;
right: 20px;
max-width: 300px;
z-index: 9999;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
border-radius: 8px;
}
.nexsouk-widget-sidebar {
position: sticky;
top: 20px;
}
.nexsouk-widget-modal {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10000;
background: white;
border-radius: 8px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
max-width: 90vw;
max-height: 90vh;
overflow: auto;
} .ticker-carousel-wrapper::before {
content: '← Swipe →';
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
font-size: 12px;
color: #6b7280;
opacity: 0.7;
pointer-events: none;
}
@media (hover: hover) {
.ticker-carousel-wrapper::before {
display: none;
}
} .ticker-skeleton {
background: linear-gradient(90deg, #f0f0f0 25%, transparent 37%, transparent 63%, #f0f0f0 75%);
background-size: 400% 100%;
animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer {
0% { background-position: 100% 0; }
100% { background-position: -100% 0; }
}
.ticker-item.loading {
min-height: 40px;
}
.ticker-item.loading .ticker-symbol,
.ticker-item.loading .ticker-name {
background: #f0f0f0;
color: transparent;
border-radius: 4px;
} .stock-tickers {
contain: layout style paint;
will-change: transform;
}
.ticker-item {
transform: translateZ(0); } .stockdio-widget-wrapper:focus-within {
outline: 2px solid #007bff;
outline-offset: 2px;
} .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.ticker-item[role="listitem"]::before {
content: '';
} @media (prefers-reduced-motion: reduce) {
.fade-in-animation,
.hover-animation .ticker-item,
.pulse-on-update .ticker-price,
.ticker-nav,
.ticker-carousel-wrapper .ticker-list {
animation: none !important;
transition: none !important;
}
.ticker-carousel-wrapper .ticker-list {
transition: transform 0.1s linear;
}
} .ticker-item:focus-visible {
outline: 3px solid #007bff;
outline-offset: 2px;
box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
} .stock-tickers.auto-detected {
min-height: 60px;
border: 2px dashed rgba(40, 167, 69, 0.3) !important;
}
.stock-tickers .ticker-list {
min-height: 30px;
} .ticker-item {
min-width: 60px;
min-height: 30px;
} .stock-tickers .ticker-label,
.ticker-symbol,
.ticker-name {
opacity: 1 !important;
visibility: visible !important;
display: inline-block !important;
} .ticker-symbol {
position: relative;
z-index: 10;
}
.ticker-symbol::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg, rgba(30, 64, 175, 0.1), rgba(30, 64, 175, 0.05));
border-radius: 6px;
z-index: -1;
} .ticker-item {
position: relative;
overflow: visible;
}
.ticker-item .ticker-symbol {
white-space: nowrap;
} .stock-tickers {
color: #000000;
}
.ticker-symbol {
color: #0066cc !important;
background-color: rgba(0, 102, 204, 0.1) !important;
} .ticker-item:hover .ticker-symbol {
background-color: rgba(0, 102, 204, 0.2) !important;
color: #004080 !important;
transform: scale(1.05);
} .ticker-price {
display: inline-block;
font-size: 12px;
font-weight: 600;
margin-left: 8px;
padding: 2px 6px;
border-radius: 4px;
font-family: 'Courier New', monospace;
}
.ticker-price.price-positive {
color: #16a085;
background: rgba(22, 160, 133, 0.1);
}
.ticker-price.price-negative {
color: #e74c3c;
background: rgba(231, 76, 60, 0.1);
}
.ticker-price small {
font-size: 10px;
opacity: 0.8;
} .sponsor-link {
text-decoration: none;
color: inherit;
display: inline-flex;
align-items: center;
gap: 4px;
transition: all 0.3s ease;
border-radius: 4px;
padding: 2px 4px;
}
.sponsor-link:hover {
background: rgba(40, 167, 69, 0.1);
transform: translateY(-1px);
text-decoration: none;
}
.sponsor-link:hover .sponsor-logo {
transform: scale(1.05);
}
.sponsor-link:hover .sponsor-name {
color: #28a745;
}
.sponsor-logo {
transition: transform 0.3s ease;
cursor: pointer;
} .ticker-item {
flex-direction: column;
align-items: flex-start;
min-width: 120px;
}
.ticker-item .ticker-link {
display: flex;
flex-direction: column;
align-items: flex-start;
width: 100%;
} @media screen and (max-width: 768px) {
.ticker-price {
font-size: 11px;
margin-left: 4px;
padding: 1px 4px;
}
.ticker-price small {
font-size: 9px;
}
.ticker-item {
min-width: 100px;
}
} @media (prefers-contrast: high) {
.stock-tickers .ticker-label {
color: #ffffff !important;
font-weight: 900 !important;
background: transparent !important;
border: none !important;
text-shadow: 2px 2px 4px rgba(0,0,0,1) !important;
}
.ticker-symbol {
color: #ffffff !important;
background: #0000ff !important;
font-weight: 900 !important;
border: 2px solid #000000 !important;
padding: 4px 8px !important;
}
.ticker-name {
color: #000000 !important;
font-weight: 700 !important;
text-shadow: none !important;
}
.ticker-item {
border-color: #000000 !important;
background: #ffffff !important;
border-width: 3px !important;
}
.stock-tickers {
border-left-color: #000000 !important;
background: #ffffff !important;
border-left-width: 6px !important;
}
.ticker-price.price-positive {
color: #ffffff !important;
background: #006600 !important;
border: 1px solid #000000 !important;
}
.ticker-price.price-negative {
color: #ffffff !important;
background: #cc0000 !important;
border: 1px solid #000000 !important;
}
} .ticker-symbol,
.ticker-name {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
} .stock-tickers * {
max-width: none !important;
overflow: visible !important;
} .ticker-list {
overflow: visible !important;
white-space: nowrap !important;
display: block !important;
}
.ticker-item {
white-space: nowrap !important;
} .ticker-symbol:empty::after {
content: "[SYMBOL]";
color: #ff0000;
font-weight: bold;
background: #ffff00;
padding: 2px 4px;
} .stock-tickers.background-loading .ticker-price.loading {
color: #666;
font-style: italic;
animation: pulse 1.5s infinite;
}
@keyframes pulseLoading {
0%, 100% { opacity: 0.6; }
50% { opacity: 1; }
} .ticker-price {
font-weight: 600;
margin: 0 4px;
}
.ticker-price .current-price {
color: #2563eb;
font-family: monospace;
}
.ticker-price .price-change {
font-size: 0.9em;
margin-left: 2px;
}
.ticker-price.price-positive .price-change {
color: #059669;
}
.ticker-price.price-negative .price-change {
color: #dc2626;
}
.ticker-price.price-error {
color: #6b7280;
font-style: italic;
} .ticker-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
flex-wrap: wrap;
gap: 8px;
}
.ticker-label {
color: #ffffff !important;
font-size: 14px;
background: transparent !important;
padding: 4px 8px;
border-radius: 4px;
text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}
.ticker-sponsor {
font-size: 12px;
color: #6b7280;
}
.sponsor-link {
color: inherit;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 6px;
border-radius: 4px;
transition: background-color 0.2s;
}
.sponsor-link:hover {
background-color: #f3f4f6;
text-decoration: none;
}
.sponsor-logo {
vertical-align: middle;
} .ticker-list {
line-height: 1.4;
}
.ticker-item {
display: inline-block;
margin: 2px 0;
}
.ticker-symbol {
font-weight: 700;
color: #2563eb;
font-family: monospace;
}
.ticker-name {
color: #6b7280;
font-size: 0.9em;
} .ticker-price.loading::after {
content: '';
display: inline-block;
width: 12px;
height: 12px;
border: 2px solid #e5e7eb;
border-top: 2px solid #3b82f6;
border-radius: 50%;
animation: spin 1s linear infinite;
margin-left: 4px;
vertical-align: middle;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} @media (max-width: 768px) {
.ticker-header {
flex-direction: column;
align-items: flex-start;
}
.ticker-sponsor {
align-self: flex-end;
}
.ticker-list {
font-size: 14px;
}
.ticker-price {
display: block;
margin: 2px 0;
}
} @media (prefers-color-scheme: dark) {
.ticker-label {
color: #ffffff !important;
background: transparent !important;
text-shadow: 1px 1px 2px rgba(0,0,0,0.9) !important;
}
.sponsor-link:hover {
background-color: #374151;
}
.ticker-price.loading {
color: #9ca3af;
}
} @media (prefers-contrast: high) {
.ticker-symbol {
font-weight: 900;
text-decoration: underline;
}
.ticker-price.price-positive .price-change {
background-color: #059669;
color: white;
padding: 1px 3px;
border-radius: 2px;
}
.ticker-price.price-negative .price-change {
background-color: #dc2626;
color: white;
padding: 1px 3px;
border-radius: 2px;
}
} .ticker-info-panel {
background: #f8f9fa;
border: 1px solid #e9ecef;
border-radius: 6px;
padding: 10px;
margin-bottom: 15px;
font-size: 12px;
color: #6c757d;
}
.ticker-update-info {
display: flex;
flex-wrap: wrap;
gap: 15px;
align-items: center;
}
.ticker-update-info span {
display: flex;
align-items: center;
gap: 5px;
}
.update-interval {
color: #28a745;
font-weight: 500;
}
.data-source {
color: #17a2b8;
}
.data-source.source-api {
color: #28a745;
}
.data-source.source-api-limited {
color: #ffc107;
}
.data-source.source-scrape {
color: #fd7e14;
font-weight: bold;
}
.last-update {
color: #6c757d;
margin-left: auto;
}
.last-update.pulse-update {
animation: pulseUpdate 1s ease-in-out;
}
@keyframes pulseUpdate {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}
.ticker-status {
margin-top: 10px;
padding: 8px 12px;
border-radius: 4px;
font-size: 13px;
line-height: 1.4;
}
.ticker-status.notice-warning {
background: #fff3cd;
border: 1px solid #ffeaa7;
color: #856404;
}
.ticker-status.notice-error {
background: #f8d7da;
border: 1px solid #f5c6cb;
color: #721c24;
}
.ticker-status.notice-info {
background: #d1ecf1;
border: 1px solid #bee5eb;
color: #0c5460;
}
.scraping-notice strong,
.error-notice strong {
display: block;
margin-bottom: 4px;
}
.scraping-notice small,
.error-notice small {
opacity: 0.8;
font-size: 11px;
} @media (max-width: 768px) {
.ticker-update-info {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.last-update {
margin-left: 0;
}
.ticker-info-panel {
font-size: 11px;
padding: 8px;
}
} .provider-status {
display: inline-block;
width: 8px;
height: 8px;
border-radius: 50%;
margin-right: 5px;
}
.provider-status.online {
background: #28a745;
}
.provider-status.limited {
background: #ffc107;
}
.provider-status.offline {
background: #dc3545;
}
.provider-status.scraping {
background: #fd7e14;
animation: blink 2s infinite;
}
@keyframes blink {
0%, 50% { opacity: 1; }
51%, 100% { opacity: 0.3; }
} .investment-dashboard {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.5;
}
.investment-dashboard .dashboard-card {
background: #ffffff;
border: 1px solid #e1e5e9;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
transition: all 0.3s ease;
}
.investment-dashboard .dashboard-card:hover {
box-shadow: 0 4px 16px rgba(0,0,0,0.12);
transform: translateY(-2px);
}
.investment-dashboard .dashboard-card h3 {
color: #2c3e50;
border-bottom: 2px solid #007cba;
font-weight: 600;
} .investment-dashboard .price-card .current-price {
color: #2c3e50;
font-family: 'Courier New', monospace;
}
.investment-dashboard .price-change.positive {
color: #28a745;
}
.investment-dashboard .price-change.negative {
color: #dc3545;
} .investment-dashboard .metrics-grid .metric,
.investment-dashboard .health-metrics .health-item {
border-bottom: 1px solid #f8f9fa;
}
.investment-dashboard .metric label,
.investment-dashboard .health-item label {
color: #6c757d;
font-weight: 500;
} .investment-dashboard .company-name {
color: #2c3e50;
font-weight: 700;
}
.investment-dashboard .company-sector {
color: #007cba;
font-weight: 600;
}
.investment-dashboard .company-description {
color: #6c757d;
} .investment-dashboard .chart-container {
background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
border: 1px solid #e9ecef;
border-radius: 6px;
overflow: hidden;
} .investment-dashboard .news-list {
border: 1px solid #e9ecef;
border-radius: 6px;
background: #f8f9fa;
max-height: 400px;
overflow-y: auto;
}
.investment-dashboard .news-item {
padding: 15px;
border-bottom: 1px solid #e9ecef;
background: #ffffff;
margin: 3px;
border-radius: 6px;
transition: all 0.3s ease;
}
.investment-dashboard .news-item:last-child {
border-bottom: none;
}
.investment-dashboard .news-item:hover {
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.investment-dashboard .news-title {
color: #2c3e50;
font-weight: 600;
text-decoration: none;
display: block;
margin-bottom: 8px;
line-height: 1.4;
font-size: 15px;
}
.investment-dashboard .news-title:hover {
color: #007cba;
text-decoration: underline;
}
.investment-dashboard .news-meta {
display: flex;
justify-content: space-between;
align-items: flex-start;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 8px;
}
.investment-dashboard .news-source {
color: #007cba;
font-weight: 600;
font-size: 12px;
background: rgba(0, 124, 186, 0.1);
padding: 2px 8px;
border-radius: 12px;
border: 1px solid rgba(0, 124, 186, 0.2);
}
.investment-dashboard .news-date {
color: #6c757d;
font-size: 12px;
font-weight: 500;
}
.investment-dashboard .news-excerpt {
color: #6c757d;
font-size: 13px;
line-height: 1.4;
margin-top: 8px;
font-style: italic;
}
.investment-dashboard .no-articles-message {
text-align: center;
padding: 30px 20px;
color: #6c757d;
}
.investment-dashboard .no-articles-message p {
margin: 10px 0;
}
.investment-dashboard .no-articles-message a {
color: #007cba;
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 4px;
}
.investment-dashboard .no-articles-message a:hover {
text-decoration: underline;
}
.investment-dashboard .view-more-articles {
text-align: center;
padding: 15px;
border-top: 1px solid #e9ecef;
background: linear-gradient(to right, #f8f9fa, #ffffff);
margin: 5px;
border-radius: 0 0 6px 6px;
}
.investment-dashboard .view-more-link {
color: #007cba;
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 6px;
padding: 8px 16px;
border: 2px solid #007cba;
border-radius: 25px;
background: rgba(0, 124, 186, 0.05);
transition: all 0.3s ease;
}
.investment-dashboard .view-more-link:hover {
background: #007cba;
color: white;
text-decoration: none;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3);
} .investment-dashboard .loading-spinner {
color: #6c757d;
font-style: italic;
} .investment-dashboard .dashboard-sponsor {
background: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%);
border: 1px solid #e9ecef;
border-radius: 8px;
padding: 15px;
} .investment-dashboard-error {
background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
border: 1px solid #f5c6cb;
color: #721c24;
text-align: center;
font-weight: 500;
}
.investment-dashboard-error code {
background: rgba(255, 255, 255, 0.8);
color: #495057;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Courier New', monospace;
} @media (prefers-color-scheme: dark) {
.investment-dashboard .dashboard-card {
background: #2d3748;
border-color: #4a5568;
}
.investment-dashboard .dashboard-card h3 {
color: #e2e8f0;
border-bottom-color: #63b3ed;
}
.investment-dashboard .price-card .current-price {
color: #e2e8f0;
}
.investment-dashboard .metric label,
.investment-dashboard .health-item label {
color: #a0aec0;
}
.investment-dashboard .company-name {
color: #e2e8f0;
}
.investment-dashboard .company-sector {
color: #63b3ed;
}
.investment-dashboard .company-description {
color: #a0aec0;
}
.investment-dashboard .chart-container {
background: #1a202c;
border-color: #4a5568;
}
.investment-dashboard .news-list {
background: #2d3748;
border-color: #4a5568;
}
.investment-dashboard .news-item {
background: #1a202c;
border-color: #4a5568;
}
.investment-dashboard .news-title {
color: #e2e8f0;
}
.investment-dashboard .news-title:hover {
color: #63b3ed;
}
.investment-dashboard .dashboard-sponsor {
background: #2d3748;
border-color: #4a5568;
}
} @media (max-width: 768px) {
.investment-dashboard {
padding: 15px;
}
.investment-dashboard .dashboard-header h2 {
font-size: 1.8em;
}
.investment-dashboard .current-price {
font-size: 2.2em;
}
.investment-dashboard .metrics-grid {
grid-template-columns: 1fr;
gap: 8px;
}
.investment-dashboard .dashboard-grid {
grid-template-columns: 1fr;
gap: 15px;
}
} @media print {
.investment-dashboard .chart-container iframe {
display: none;
}
.investment-dashboard .chart-container::after {
content: "Interactive chart available online";
display: block;
text-align: center;
padding: 20px;
background: #f0f0f0;
color: #666;
border-radius: 4px;
}
.investment-dashboard .dashboard-sponsor {
display: none;
}
} .stock-tickers .ticker-label,
.ticker-label,
.stockdio-widget-wrapper .ticker-label,
.stockdio-multiple-cards .ticker-label,
.nexsouk-theme-light .ticker-label,
.nexsouk-theme-dark .ticker-label,
.nexsouk-theme-custom .ticker-label {
color: #ffffff !important;
background: transparent !important;
text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
border: none !important;
} .ticker-scrolling {
position: relative;
overflow: hidden;
}
.ticker-scrolling .ticker-container {
overflow: hidden;
position: relative;
padding: 12px 0;
}
.ticker-scrolling .ticker-content {
display: flex;
align-items: stretch;
gap: 0;
}
.ticker-scrolling .ticker-list {
display: flex;
align-items: stretch;
gap: 12px;
animation: scroll-left 60s linear infinite;
will-change: transform;
}
.ticker-scrolling .ticker-list.ticker-static {
animation: none;
justify-content: center;
flex-wrap: wrap;
}
@keyframes scroll-left {
0% {
transform: translateX(0);
}
100% {
transform: translateX(-50%);
}
}
.ticker-scrolling .ticker-list:hover {
animation-play-state: paused;
} .ticker-item-enhanced {
display: inline-flex;
flex-direction: column;
background: rgba(255, 255, 255, 0.95);
border: 1px solid #e2e8f0;
border-radius: 8px;
padding: 12px;
min-width: 160px;
max-width: 180px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
cursor: pointer;
flex-shrink: 0;
}
.ticker-item-enhanced:hover {
transform: translateY(-4px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
border-color: #cbd5e0;
}
.ticker-item-enhanced .ticker-link {
text-decoration: none;
color: inherit;
display: flex;
flex-direction: column;
gap: 8px;
width: 100%;
} .ticker-top-row {
display: flex;
flex-direction: column;
gap: 4px;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 8px;
}
.ticker-top-row .ticker-symbol {
font-size: 16px;
font-weight: 700;
color: #2c5282;
letter-spacing: 0.5px;
}
.ticker-top-row .ticker-company {
font-size: 11px;
color: #718096;
font-weight: 500;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
} .ticker-middle-row {
display: flex;
justify-content: center;
align-items: center;
min-height: 24px;
padding: 4px 0;
}
.ticker-sparkline {
width: 100%;
max-width: 80px;
height: 24px;
} .ticker-bottom-row {
display: flex;
flex-direction: column;
gap: 4px;
padding-top: 8px;
border-top: 1px solid #e2e8f0;
}
.ticker-bottom-row .ticker-price {
font-size: 15px;
font-weight: 700;
font-family: 'Courier New', monospace;
color: #2d3748;
}
.ticker-bottom-row .ticker-price.price-positive {
color: #38a169;
}
.ticker-bottom-row .ticker-price.price-negative {
color: #e53e3e;
}
.ticker-bottom-row .ticker-change {
font-size: 11px;
font-weight: 600;
padding: 2px 6px;
border-radius: 4px;
display: inline-block;
}
.ticker-bottom-row .ticker-change.change-positive {
background: rgba(56, 161, 105, 0.1);
color: #38a169;
}
.ticker-bottom-row .ticker-change.change-negative {
background: rgba(229, 62, 62, 0.1);
color: #e53e3e;
} .ticker-sponsor-section {
display: none; } .ticker-sponsor-drawer {
position: absolute;
top: 0;
right: -280px;
width: 260px;
max-width: 90vw;
background: #ffffff;
box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
padding: 16px;
border-radius: 6px 0 0 6px;
border-left: 3px solid #2c5282;
border-top: 1px solid #e2e8f0;
border-bottom: 1px solid #e2e8f0;
z-index: 100;
transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.ticker-sponsor-drawer.active {
right: 0;
} .stock-tickers.ticker-scrolling {
position: relative;
overflow: visible !important;
}
.ticker-sponsor-drawer .drawer-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
padding-bottom: 10px;
border-bottom: 1px solid #e2e8f0;
}
.ticker-sponsor-drawer .drawer-title {
color: #1a202c;
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.ticker-sponsor-drawer .close-drawer {
background: #f7fafc;
border: 1px solid #e2e8f0;
color: #4a5568;
width: 24px;
height: 24px;
border-radius: 3px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
font-size: 16px;
line-height: 1;
transition: all 0.2s ease;
font-weight: 300;
}
.ticker-sponsor-drawer .close-drawer:hover {
background: #edf2f7;
border-color: #cbd5e0;
color: #2d3748;
}
.ticker-sponsor-drawer .drawer-content {
text-align: center;
}
.ticker-sponsor-drawer .sponsor-label {
display: block;
color: #718096;
font-size: 11px;
margin-bottom: 10px;
font-weight: 500;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.ticker-sponsor-drawer .sponsor-link {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-decoration: none;
padding: 12px;
background: #f7fafc;
border: 1px solid #e2e8f0;
border-radius: 6px;
transition: all 0.3s ease;
}
.ticker-sponsor-drawer .sponsor-link:hover {
background: #edf2f7;
border-color: #cbd5e0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
transform: translateY(-1px);
}
.ticker-sponsor-drawer .sponsor-logo {
max-width: 140px;
max-height: 50px;
object-fit: contain;
}
.ticker-sponsor-drawer .sponsor-name {
color: #2c5282;
font-size: 15px;
font-weight: 700;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.ticker-sponsor-drawer .sponsor-tagline {
color: #718096;
font-size: 10px;
margin-top: 2px;
font-style: normal;
font-weight: 400;
} .ticker-sponsor-trigger {
position: absolute;
top: 12px;
right: 12px;
padding: 6px 12px;
background: #ffffff;
border: 1px solid #e2e8f0;
border-radius: 6px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
z-index: 99;
transition: all 0.3s ease;
}
.ticker-sponsor-trigger:hover {
box-shadow: 0 4px 12px rgba(44, 82, 130, 0.15);
background: #f7fafc;
border-color: #2c5282;
transform: translateY(-2px);
}
.ticker-sponsor-trigger .sponsor-mini-logo {
width: 24px;
height: 24px;
object-fit: contain;
}
.ticker-sponsor-trigger .sponsor-mini-text {
font-size: 10px;
color: #718096;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
white-space: nowrap;
}
.ticker-sponsor-trigger:hover .sponsor-mini-text {
color: #2c5282;
} @keyframes pulse-sponsor {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
} .ticker-sponsor-trigger.hidden {
opacity: 0;
pointer-events: none;
} @media screen and (max-width: 768px) {
.ticker-item-enhanced {
min-width: 140px;
max-width: 160px;
padding: 10px;
}
.ticker-top-row .ticker-symbol {
font-size: 14px;
}
.ticker-top-row .ticker-company {
font-size: 10px;
}
.ticker-bottom-row .ticker-price {
font-size: 13px;
}
.ticker-bottom-row .ticker-change {
font-size: 10px;
padding: 2px 4px;
}
.ticker-scrolling .ticker-list {
gap: 8px;
}
.ticker-sponsor-drawer {
width: 100%;
max-width: 100%;
border-radius: 6px 6px 0 0;
border-left: none;
border-right: none;
border-top: 1px solid #e2e8f0;
border-bottom: 3px solid #2c5282;
padding: 12px;
right: auto;
left: 0;
top: 0;
transform: translateY(-100%);
transition: transform 0.3s ease-out;
pointer-events: none;
z-index: 100;
}
.ticker-sponsor-drawer.active {
transform: translateY(0);
right: auto;
pointer-events: auto;
}
.ticker-sponsor-trigger {
padding: 4px 8px;
top: 8px;
right: 8px;
}
.ticker-sponsor-trigger:hover {
transform: translateY(-1px);
}
.ticker-sponsor-trigger .sponsor-mini-logo {
width: 20px;
height: 20px;
}
.ticker-sponsor-trigger .sponsor-mini-text {
font-size: 9px;
}
}
@media screen and (max-width: 480px) {
.ticker-item-enhanced {
min-width: 120px;
max-width: 140px;
padding: 8px;
}
.ticker-top-row {
gap: 2px;
padding-bottom: 6px;
}
.ticker-top-row .ticker-symbol {
font-size: 13px;
}
.ticker-top-row .ticker-company {
font-size: 9px;
}
.ticker-sparkline {
max-width: 60px;
height: 20px;
}
.ticker-bottom-row {
gap: 3px;
padding-top: 6px;
}
.ticker-bottom-row .ticker-price {
font-size: 12px;
}
.ticker-bottom-row .ticker-change {
font-size: 9px;
padding: 1px 3px;
}
.ticker-scrolling .ticker-list {
gap: 6px;
}
}