#loading-spinner {
    animation: spin 0.6s linear infinite; /* Fast rotation */
}
.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 5px;
}
.text-spinner{
    color: #4182CE;

} 

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
#searchInput {
    background-color: #f8f9fa; /* Light gray background */
    cursor: pointer;  /* Pointer cursor to indicate it's clickable */
    color: #6c757d;  /* Gray text */
    caret-color: transparent; /* Hides text cursor */
}

.search-bar {
    width: 100%;  /* Full width */
    min-width: 340px; /* Ensures placeholder fits */
    font-size: 14px;  /* Slightly smaller font */
    padding: 8px 12px; /* More padding for visibility */
}

@media (max-width: 768px) {
    .search-bar {
        width: 100% !important;
        min-width: unset;
        font-size: 13px; /* Smaller text on mobile */
    }
}

/* Larger nav link font size and spacing */
.navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 12px;
    padding-top: 12px;
    
}

@media (max-width: 480px) {
    .navbar-nav .nav-link{
        padding-bottom: 8px;
        padding-top: 8px;
    }
    
}

@media (max-width: 868px) {
    .navbar-nav .nav-link{
        padding-bottom: 8px;
        padding-top: 8px;
    }
}
/* Make entire input group rounded like a pill */
.rounded-search {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ced4da;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* Search icon style (left part) */
.search-icon {
    background-color: transparent;
    border: none;
    padding-left: 16px;
    padding-right: 8px;
    font-size: 16px;
}

/* Input field styling */
.search-bar {
    border: none;
    border-radius: 0; /* Already rounded by container */
    padding: 10px 16px;
    font-size: 15px;
    outline: none;
    background-color: transparent;
}

/* Remove any input focus outline */
.search-bar:focus {
    box-shadow: none;
}

/* Optional: Hover/focus transition for subtle interactivity */
.rounded-search:hover {
    border-color: #999;
}

.search-bar::placeholder {
    color: #aaa;
}


span.sign-btn {
    background: linear-gradient(135deg, #2C3E50, #1C2833); /* Professional dark blue gradient */
    color: white;
    border: none;
    border-radius: 8px; /* Smooth rounded corners */
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

span.sign-btn:hover {
    background: linear-gradient(135deg, #1C2833, #2C3E50); /* Reverse gradient on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
    color: #ffffff; /* White text */
}

span.sign-btn:active {
    transform: translateY(0);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
}

 /* Mobile Icon Styling */
 .icon-btn {
    background: linear-gradient(135deg, #2C3E50, #1C2833); /* Professional dark blue gradient */
    color: white;
    border-radius: 20%; /* Circular shape */
    padding: 10px; /* Adjust padding for proper sizing */
    font-size: 12px; /* Slightly larger for better visibility */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-btn:hover {
    background: linear-gradient(135deg, #1C2833, #2C3E50); /* Reverse gradient on hover */
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
    transform: scale(1.1); /* Slightly increase size on hover */
    color: #ffffff; /* White text */

}
span.sign-btn-small{
    background: linear-gradient(135deg, #2C3E50, #1C2833); /* Professional dark blue gradient */
    color: white;
    border: none;
    border-radius: 8px; /* Smooth rounded corners */
    padding: 8px 20px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 35px;
    height: 35px;
    
}
.topbar-top{
    background: linear-gradient(135deg, #253342, #253342); /* Reverse gradient on hover */
}

.modal-bg{
    background: linear-gradient(135deg, #1C2833, #2C3E50); /* Reverse gradient on hover */

}

/* search modal */

#stockList {
    width: 100%;
  } 
  
  .stock-item {
    width: 100%;
    box-sizing: border-box;
  }
  
  .stock-content {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 10px;
    width: 100%; /* ✅ Ensures the grid spans full width */
    min-width: 0;  /* ✅ Prevents overflow/shrink issues */
  }
  
  .ticker {
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
  }
  
  .company-name {
    color: #888;
    font-size: 0.875rem;
   
   
  }
  
  .exchange-badge {
    background-color: #E4F0FF;
    color: #4182CE;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
  }