/* =============================
   FONT IMPORT & SETTINGS
   ============================= */
/* Import Montserrat font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

html {
    font-size: 14px; /* Base font size (moderate size) */
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    transition: background-color 0.3s, color 0.3s;
    min-height: 100%;
    margin: 0;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100% !important;
    }
}

.main {
    padding-bottom: 50px !important;
}

/* =============================
   GENERAL STYLES
   ============================= */
fieldset {
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}
fieldset span{
    font-size: 0.9rem;
    font-weight: 100;
}
legend {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

a {
    color: #008496;
    text-decoration: none;
}

.form-label {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
}

.logo_thumbs {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid;
}

.highlight {
    background-color: yellow; 
    color: black; 
    font-weight: bold; 
    padding: 2px 0px; 
    transition: background-color 0.3s ease-in-out;
}

.drop-area {
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
}

.drop-area.hover {
    border-color: #666;
}

.disabled {
    background-color: #ccc;
    pointer-events: none; 
    opacity: 0.5;
}

.img-magnifier-glass {
  position: absolute;
  border: 3px solid #cc0000;
  cursor: none;
  width: 200px;
  height: 200px;
  z-index: 1000;
  background-repeat: no-repeat;
  background-color: white;
  background-blend-mode: multiply;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  pointer-events: none;
}
.img-magnifier-container {
    position: relative;
}
.img-magnifier-container {
    border: 1px solid;
    border-radius: 5px;
}

/* =============================
   SCROLLBAR STYLES
   ============================= */

/* Scrollbar width */
::-webkit-scrollbar {
    width: 8px;
}

/* Scrollbar track style */
::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

/* Scrollbar thumb style */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Scrollbar thumb hover effect */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* =============================
   PLACEHOLDER STYLES
   ============================= */

::placeholder {
    color: #ccc !important;
    opacity: 1 !important;
}

::-webkit-input-placeholder {
    color: #ccc !important;
    opacity: 1 !important;
}

::-moz-placeholder {
    color: #ccc !important;
    opacity: 1 !important;
}

:-ms-input-placeholder {
    color: #ccc !important;
}

/* =============================
   RANGE INPUT STYLES
   ============================= */

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
    opacity: 0.9;
    transition: background 0.3s;
    flex: 1;
    margin: 4px 10px 0;
}

input[type="range"]::-webkit-slider-runnable-track {
    background: #ccc;
    height: 8px;
    border-radius: 5px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 15px;
    height: 15px;
    background: #008496;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -4px;
}

input[type="range"]::-moz-range-track {
    background: #999;
    height: 8px;
    border-radius: 5px;
}

input[type="range"]::-moz-range-thumb {
    width: 15px;
    height: 15px;
    background: #999;
    border-radius: 50%;
    cursor: pointer;
}

input[type="range"]:hover {
    background: #ccc;
}

/* =============================
   CONTENT AREAS
   ============================= */

.transcript-area {
    height: 150px;
    overflow-y: auto;
    padding: 10px;
}

#recSettings {
    overflow: hidden;
    max-height: 0px;
    transition: max-height 0.5s ease;
}

#recSettings.open {
    max-height: 1000px;
}

/* =============================
   NAVBAR STYLES
   ============================= */

.nav-link {
    font-weight: 600;
}

.navbar-toggler {
    padding: 0;
    border-radius: 0;
    border: none !important;
    outline: none !important;
}

.navbar-toggler:focus {
    outline: none !important;
}

/* =============================
   SPLASH SCREEN
   ============================= */

#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    opacity: 0;
    transition: opacity 1s ease-out, transform 1s ease-out;
}

#splash-screen.fade-in {
    opacity: 1;
}

#splash-screen.fade-out {
    opacity: 0;
    transform: translateY(100%);
}

/* Center the splash image */
#splash-image {
    max-width: 40%;
    max-height: 40%;
    object-fit: contain;
}

/* =============================
   MAIN CONTENT
   ============================= */

#main-contents {
    min-height: 100vh;
}

#main-content {
    display: none;
}

.breadcrumbs {
    font-size: 0.9rem;
}

.breadcrumbs a {
    text-decoration: none;
    font-size: 0.9rem;
}

/* =============================
   FORM CONTAINERS
   ============================= */

.login-container,
.forget-container {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 30px;
}

.register-container,
.profile-container {
    width: 800px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    padding: 30px;
}

/* =============================
   LOGO STYLES
   ============================= */

.logo {
    display: flex;
    justify-content: center;
}

.logo a {
    font-size: 1.5rem; /* Approximately 24px: professional and moderate size */
    font-weight: bold;
}

.logo img {
    width: 35px;
    margin-right: -6px;
    margin-top: -6px;
}

/* =============================
   THEME & FULLSCREEN TOGGLE BUTTONS
   ============================= */
   
#helpDesk {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 10000;
}

#themeToggle {
    position: fixed;
    bottom: 10px;
    right: 90px;
    z-index: 10000;
}

#fullscreenToggle {
    position: fixed;
    bottom: 10px;
    right: 190px;
    z-index: 10000;
}



/* =============================
   ICON COLORS
   ============================= */

.light-icon {
    color: white;
}

.dark-icon {
    color: black;
}

/* =============================
   FOOTER STYLES
   ============================= */

body[data-bs-theme="light"] footer {
    background-color: #fff;
    color: #000;
}

body[data-bs-theme="dark"] footer {
    background-color: #212529;
    color: #fff;
}

/* =============================
   EDITOR
   ============================= */

.note-editable {
    height: 620px;
}

/* =============================
   CLIPPY
   ============================= */
#cc {
    position: relative;
}

#clippy {
    width: 300px;
    height: 135px;
    position: absolute;
    left: -293px;
    bottom: -35px;
    z-index: 10000;
}

#clippy img {
    width: 133px;
    height: 109px;
    position: absolute;
    right: 0px;
    bottom: 0px;
}

#clippy span {
    font-family: Courier New;
    font-size: 17px;
    font-weight: bold;
    background-color: #fff;
    position: absolute;
    top: 0px;
    right: 0px;
}

/* =============================
   AJAX LOADER
   ============================= */

.spinner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(255,255,255,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border: 0.3em solid #ccc;
    border-top: 0.3em solid #007bff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* =============================
   COUNTER
   ============================= */
#t1, #t2, #t3 {
    position: relative;
}
#word-count {
    position: absolute;
    right: 0px;
    bottom: 0px;
    font-size: 12px;
    color: gray;
    background-color: #f1f1f1;
    padding: 5px 10px;
    border-radius: 5px 0px 5px 0px;
    border:1px solid #c0c0c0;
}

