/* line 5, app/assets/stylesheets/daily_report.scss */
.log-section-title {
  margin-top: 50px;
}

/* line 9, app/assets/stylesheets/daily_report.scss */
.log-section-details {
  min-height: 150px;
  font-size: 1.2em;
}

/* line 14, app/assets/stylesheets/daily_report.scss */
.log-text-box {
  min-height: 200px;
  font-size: 1.1em;
  color: #000;
}

/* line 20, app/assets/stylesheets/daily_report.scss */
.log-text-label {
  font-size: 1.3em;
}
/* line 1, app/assets/stylesheets/dictation.scss */
.btn-mic {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 6px 12px;
  position: absolute;
  right: 25px;
  bottom: 10px;
  transition: all 0.3s ease;
}

/* line 12, app/assets/stylesheets/dictation.scss */
.btn-mic:hover {
  transform: scale(1.05);
  background-color: #f8f9fa;
}

/* line 17, app/assets/stylesheets/dictation.scss */
.btn-mic.active {
  background-color: #dc3545;
  color: white;
}

/* line 22, app/assets/stylesheets/dictation.scss */
.log-text-box {
  padding-right: 50px;
  /* Make space for the microphone button */
  position: relative;
}

/* line 27, app/assets/stylesheets/dictation.scss */
.col-sm-12 {
  position: relative;
}
/* line 5, app/assets/stylesheets/home.scss */
.home-main {
  top: 50px;
  vertical-align: middle;
  border: none !important;
}

/* line 11, app/assets/stylesheets/home.scss */
.btn-text {
  font-size: 1.2em;
}

/* line 15, app/assets/stylesheets/home.scss */
.back-btn {
  margin-left: 10px;
}

/* line 19, app/assets/stylesheets/home.scss */
.carers-heading {
  text-align: center;
  font-size: 1.5em;
  color: #f07e2b;
  text-decoration: underline;
}

/* line 26, app/assets/stylesheets/home.scss */
#overlay-x {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background-color: #f07e2b;
  cursor: not-allowed;
}
/* line 5, app/assets/stylesheets/medication_record.scss */
.med-text-box {
  min-height: 50px;
  font-size: 1.1em;
  color: #000;
}
/* line 4, app/assets/stylesheets/personal.scss */
.lg-text {
  text-align: justify;
  text-justify: inter-word;
  margin-bottom: 10px;
}
/* line 4, app/assets/stylesheets/placements.scss */
.placement-container {
  padding: 0;
  margin: 0 1rem 20px;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

body{
    color: #111;
    min-width: 250px;
    margin: 0 auto;
    padding: 0;
    postion: relative;
}

a {
    color: #f07e2a;
}

a:hover {
    color: #ba5500;
}

.my-btn-primary {
    color: #fff;
    background-color: #f07e2a;
    border-color: #f07e2a;
}

.my-btn-outline-primary {
    color: #f07e2a;
    background-color: transparent;
    background-image: none;
    border-color: #f07e2a;
}

.my-btn-outline-primary:focus, .my-btn-outline-primary:hover{
    color: #fff;
    background-color: #ba5500;
    border-color: #ba5500;
}

.my-btn-outline-primary:active:focus{
    color: #fff;
    background-color: #f07e2a;
    box-shadow: none;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #f07e2a;
    border-color: #f07e2a;
}

.my-btn-primary:focus, .my-btn-primary:hover{
    color: #fff;
    background-color: #ba5500;
    border-color: #ba5500;
}

.my-btn-primary:active:focus{
    color: #fff;
    background-color: #f07e2a;
    box-shadow: none;
}

.main{
    padding:0;
    margin: 0 auto;
    min-width: 250px;
    max-width: 500px;
}

.note-border{
    border: 1px solid #f07e2a;
    padding: 15px;
    margin-bottom: 25px;
}

.main-header{
    margin-top:10px;
}

.menu-head{
    position:fixed;
    left:0;
    right: 0;
    z-index: 999;
    font-size: 1.5em;
    padding: 90px 15px 10px 25px;
    background: #f07e2a;
    color: #FFFFFF;
}

.menu-head a {
    color: #FFFFFF;
}

.logo{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    max-width: 15em;
}

.logo-sm{
    vertical-align: middle;
    width: 50px;
    height: 50px;
}

.app-header{
    vertical-align: middle;
    color: #fff;
    font-size: 1.2em;
    font-weight: 600;
}

.div-border{
    border: 1px solid #c0c0c0;
    margin: 5px 0px;
    overflow: scroll;
    height: inherit;
}

.spacer{
    margin-top: 20px;
}

.panel-heading{
    border-bottom: 1px solid #c0c0c0;
    padding: 5px;
    margin-bottom: 10px;
}

.id-img{
    max-height: 200px;
    max-width: 200px;
    border: 1px solid #000;
}

#overlay {
    position: fixed; /* Sit on top of the page content */
    display: none; /* Hidden by default */
    visibility: hidden;
    width: 100%; /* Full width (cover the whole page) */
    height: 100%; /* Full height (cover the whole page) */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Black background with opacity */
    z-index: 1000; /* Specify a stack order in case you're using a different order for other elements */
    cursor: pointer; /* Add a pointer on hover */
}

#topnav{
    height: 80px;
    background: #111;
    color: #fff;
}

#topnav .has-submenu.active .submenu li.active>a {
    color: #f07e2a;
}

#topnav .navigation-menu>li .submenu li a:hover {
    color: #f07e2a;
}

.logout-warn {
    position: absolute;
    margin: auto;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 75%;
    height: 150px;
    background-color: #fff;
    border-radius: 3px;
    border: 3px solid #c0c0c0;
    padding: 10px;
}

.logout-text {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: #585C64;
}

.btn-centred {
    margin: auto;
}

#footer {
    margin-top: 45px;
    text-align: center;
    background: #f07e2a;
    color: #FFFFFF;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3.5rem;            /* Footer height */
    padding: 0.25rem 0;
}

#footer a {
    color: #FFFFFF;
    text-decoration: underline;
}

.btn-mic {
    margin-left: 12px;
    margin-top: 5px;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    border: 2px solid #007bff;
    background-color: white;
    color: #007bff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-mic:hover {
    transform: scale(1.05);
    background-color: #f8f9fa;
}

.btn-mic i {
    font-size: 20px;
}

.btn-mic.recording {
    background-color: #dc3545;
    border-color: #dc3545;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}


/* Make the button stand out against the form background */
.form-group .col-sm-12.d-flex {
    position: relative;
    align-items: flex-start;
    padding: 8px 0;
}

/* Ensure good contrast in different themes */
@media (prefers-color-scheme: dark) {
    .btn-mic {
        background-color: #2b3035;
        border-color: #0d6efd;
    }
}
