
@import url(//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

html, body {
    margin: 0;
    padding: 0;
    min-height:100%;
     background-color: #3498db;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures body is at least full viewport height */
    padding-top: 30px;
    
}
.navbar-nav {
    padding-left: 20px; /* Adjust as needed */
    background-color:#edf0f2;
}

.nav-item {
    margin-left: 15px; /* Adjust as needed */
} 


.footer {
    background-color: white;
    color: black;  /* Change this to your preferred text color */
    text-align: center;
    width: 100%;
    margin-top: auto; /* Ensures the footer stays at the bottom of the content */
    position: relative;
}


.sidebar {
    width: 50px; /* Adjust as needed */
    background-color: #3498db; /* Default color */
}


.styled-select select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

/* Button styles */
button[type="button"] {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #449b47; /* Adjusted background color */
    color: white;
    border: none;
    border-radius: 5px; /* Rounded corners for the button */
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

button[type="button"]:hover {
    background-color: #357a34; /* Darker background on hover */
}

.text_class{
    border: 2px solid #333; /* Adds a solid border around the div */
    padding: 20px; /* Adds space inside the border, between the border and the content */
    background-color: #e0e0e0; /* Sets a light grey background color */
    width: 90vw; /* Sets the width to 90% of the viewport width */
    max-width: 1200px; /* Limits the maximum width of the div to 1200px */
    margin: 20px auto; /* Centers the div horizontally and adds space above and below */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow effect for a 3D appearance */
    border-radius: 8px; /* Rounds the corners of the div */
    font-family: Arial, sans-serif; /* Sets the font for text inside the div */
    font-size: 16px; /* Sets the font size for text inside the div */
    color: #333; /* Sets the text color inside the div */
}


/* Individual Element Styling */

#email_output {
    max-width: 100%;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #f8f9fa; /* Light gray */
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    height: 250px; /* Adjust as needed */
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
}
#input_card {
    margin-bottom: 20px; /* Adds 20px vertical margin below the card */
}
#submit_button {
    margin-top: 20px !important; /* Increase the margin as needed */
}
#input_form {
    margin-top: 100px; /* Adjust as needed */
    margin-left: 15px;
}

.output-image {
    margin-left: 50px; /* Adjust the value as needed */
}

#main-content {
    flex-grow: 1;
    padding-top: 70px; /* adjust to match your navbar height */
}
.container-fluid.full-height {
    height: 100%;
}

.row.full-height {
    height: 100%;
}
/* Style for the sentiment displaying runner track */

/* Basic styles for the range input */
/* Container for vertical alignment */
/* Container to center the slider vertically */


/* Style the vertical range slider */
/* Center the slider vertically */
/* Center the slider vertically */
/* Container for vertical alignment */




.slider-container {

    flex-direction: column; /* Stack elements vertically */
    display: flex;
    justify-content: center;   /* Horizontally center the content */
    align-items: center; /* Vertically center the content */
    height: 500px;             /* Adjust container height to allow the slider to grow */
    width: 100px;              /* Keep it narrow for proper rotation */
}

/* Vertical range slider */
input[type="range"].form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 200px;               /* Set width to small for vertical slider */
    height: 14px;              /* This height will now act as the 'width' due to rotation */
    background: linear-gradient(
  to right,
  #cc0000 0%,     
  #f44336 25%,     
  #fff2cc 50%,     
  #6fa8dc 75%,     
  #215ce3 100%     
);
    border-radius: 5px;
    outline: none;
    transform: rotate(-90deg); /* Rotate to make it vertical */
    transform-origin: center;  /* Ensure rotation happens around the center */
    margin: 0;                 /* Prevent additional margins that could misalign */
    cursor: pointer;
}

/* Track style */
input[type="range"].form-range::-webkit-slider-runnable-track {
    background: transparent;
    height: 8px; /* This is fine, no change needed */
}

input[type="range"].form-range::-moz-range-track {
    background: transparent;
    height: 8px;
}

/* Slider thumb style */
input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    background: black;
    border-radius: 4px;
    width: 10px;
    height: 18px;
}

.slider-container .above {
    /* Styles for the above class within slider-container */
    margin-bottom: 90px;
    width: 50px;
    height: auto;
}

.slider-container .below {
    /* Styles for the above class within slider-container */
    margin-top: 90px;
    width: 50px;
    height: auto;
}



/* Feedback Button Base */
.btn.btn-light {
    height: 0px; /* Initially hidden */
    overflow: hidden; /* Hide inner content */
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* No padding initially */
    background-color: #f8f9fa; /* Light gray */
    border: 1px solid #ddd;
    border-radius: 0;
    transition: height 0.5s ease, padding 0.5s ease; /* Smooth transition for height and padding */
}

/* When visible (using a specific height) */
.btn.btn-light.active {
    height: 80px; /* Adjust based on your content's height */
    padding: 10px 15px; /* Add padding */
    overflow: visible; /* Show content */
    background-color: #f8f9fa; /* Light gray */
}

/* Button Active (Pressed) Styling */
.btn.btn-light:active {
    background-color: #f8f9fa; /* Light gray */
}

/* Hover Styling */
.btn.btn-light:hover {
    background-color: #f8f9fa; /* Light gray */
}

.rating { 
    border: none;
    float: left;
  }
  
  .rating > input { display: none; } 
  .rating > label:before { 
    margin: 5px;
    font-size: 1.25em;
    font-family: FontAwesome;
    display: inline-block;
    content: "\f005";
  }
  
  .rating > .half:before { 
    content: "\f089";
    position: absolute;
  }
  
  .rating > label { 
    color: #ddd; 
   float: right; 
  }
  
  /***** CSS Magic to Highlight Stars on Hover *****/
  
  .rating > input:checked ~ label, /* show gold star when clicked */
  .rating:not(:checked) > label:hover, /* hover current star */
  .rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */
  
  .rating > input:checked + label:hover, /* hover current star when changing rating */
  .rating > input:checked ~ label:hover,
  .rating > label:hover ~ input:checked ~ label, /* lighten current selection */
  .rating > input:checked ~ label:hover ~ label { color: #FFED85;  } 

/* .text-red {
    color: red;
}
.text-green {
    color: green;
}
.text-green {
    color: blue;
}

.legend-color {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 8px;
}


.legend-red {
    background-color: red;
}
.legend-green {
    background-color: green;
}
.legend-blue {
    background-color: blue;
}

.legend-section {
    margin-top: 60px !important; /* Use !important to override any conflicting styles */






/* .lexicon-btn.active,
.method-btn.active {
    border: 2px solid #3498db !important;
    box-shadow: 0 2px 10px rgba(0, 13, 255, 0.2) !important;
    background-color: #2980b9 !important;
    color: #3498db !important; /* Ensure the blue text color applies */
    /* transition: background-color 0.3s ease, border 0.3s ease; */

/* .lexicon-btn:hover,
.method-btn:hover {
    border: 2px solid #2980b9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: #3498db;
    color: #3498db; /* Keep the text blue on hover */

    
.card_res {
  width: 18rem; /* Fixed width for medium and larger screens */
}

#submit_button {
  width: 18rem;
}


/* Lastly added button container class */

.button-container-class {
  display: flex;               
  justify-content: center;     
  margin-bottom: 1rem;
  width: 100%;   
        
}



/* On small and extra small devices, stack vertically */
@media (max-width: 950px) {
  #submit_button,
  .btn-group {
    width: 100%;
    min-width: auto;
    
  }
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* ensures body is at least full viewport height */
    padding-top: 70px;
}
  .btn-group {
    flex-direction: column;
  }

  .btn-group > .btn {
    margin-right: 0;
    margin-bottom: 0.3rem;
  }

  .btn-group > .btn:last-child {
    margin-bottom: 0;
  }

 .card_res {
    width: auto;        /* Let it resize */
    min-width: 18rem;   /* But not smaller than 18rem */
  }
}

.card-body-button {
  display: flex;              
  flex-direction: column;     
  align-items: center;         

}
.no-gap-buttons {            
                  
  width: 80%;                 
         
}




.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Full viewport height */
}

main {
    flex: 1; /* Take all available space */
}

.footer {
    background-color: #0d94ed;
    color: white;
    text-align: center;
    padding: 1rem 0;
}