table{
			border:2px solid; border-collapse:collapse;
		}
		
th, td{border:1px solid silver;}

a:link {
	color: black;
	background-color: transparent;
	text-decoration: none;
}

a:visited {
	color: pink;
	background-color: transparent;
	text-decoration: none;
}

a:hover {
	color: red;
	background-color: transparent;
	text-decoration: underline;
}

a:active {
	color: yellow;
	background-color: transparent;
	text-decoration: underline;
}

#findLayer {
    position: fixed;
    top: 80px;
    right: 20px;

    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;

    padding: 10px;
    z-index: 9999;

    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.find-hit {
   
}

.find-current {
    background: orange;
}

#loadingLayer {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.loading-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: rgba(255,255,255,0.8);
    padding: 20px 40px;
    border-radius: 10px;
    text-align: center;

    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.spinner {
    width: 40px;
    height: 40px;
    margin: auto;
    border: 5px solid #ddd;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#companyPopup{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
    z-index:9999;
}

.popup-content{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:800px;
    max-height:80vh;
    overflow-y:auto;
    background:#fff;
    padding:20px;
    border-radius:10px;
}

.close-btn{
    float:right;
    cursor:pointer;
    font-size:20px;
}

#newsPopup {
    background: rgba(0,0,0,0.7);
}

.popup-content {
    background: #202123;
    color: #ececf1;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.stockTable{
    width:100%;
    border-collapse:collapse;
    table-layout:fixed;
}

.stockTable th{
    background:#202020;
    color:#dcdcdc;
}

.stockTable td{
    background:#202020;
    color:#dcdcdc;
}

.summary{
    width:60%;
    line-height:1.8;
    text-align:left;
}