/* Font Awesome Integration */
@font-face {
  font-family: 'Font Awesome 5.15.4 Free';
  font-style: normal;
  font-weight: 900;
  src: url('../webfonts/fa-solid-900.eot'); /* IE9 Compatibility */
  src: url('../webfonts/fa-solid-900.eot?#iefix') format('embedded-opentype'),
       url('../webfonts/fa-solid-900.woff2') format('woff2'),
       url('../webfonts/fa-solid-900.woff') format('woff'),
       url('../webfonts/fa-solid-900.ttf') format('truetype'),
       url('../webfonts/fa-solid-900.svg?v=6.6.0#fontawesome') format('svg');
}

body {
  background: white;
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Custom Scrollbar */
body::-webkit-scrollbar {
    width: 10px;
}

body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

body::-webkit-scrollbar-thumb {
    background: #888;
}

body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Navbar & Footer Background */
.custom-background {
  background-image: linear-gradient(
      200deg,
      rgba(171, 171, 171, 0.05) 0%,
      rgba(171, 171, 171, 0.05) 23%,
      rgba(90, 90, 90, 0.05) 23%,
      rgba(90, 90, 90, 0.05) 48%,
      rgba(65, 65, 65, 0.05) 48%,
      rgba(65, 65, 65, 0.05) 61%,
      rgba(232, 232, 232, 0.05) 61%,
      rgba(232, 232, 232, 0.05) 100%
    ),
    linear-gradient(
      126deg,
      rgba(194, 194, 194, 0.05) 0%,
      rgba(194, 194, 194, 0.05) 11%,
      rgba(127, 127, 127, 0.05) 11%,
      rgba(127, 127, 127, 0.05) 33%,
      rgba(117, 117, 117, 0.05) 33%,
      rgba(117, 117, 117, 0.05) 99%,
      rgba(248, 248, 248, 0.05) 99%,
      rgba(248, 248, 248, 0.05) 100%
    ),
    linear-gradient(
      144deg,
      rgba(64, 64, 64, 0.05) 0%,
      rgba(64, 64, 64, 0.05) 33%,
      rgba(211, 211, 211, 0.05) 33%,
      rgba(211, 211, 211, 0.05) 50%,
      rgba(53, 53, 53, 0.05) 50%,
      rgba(53, 53, 53, 0.05) 75%,
      rgba(144, 144, 144, 0.05) 75%,
      rgba(144, 144, 144, 0.05) 100%
    ),
    linear-gradient(329deg, #000, #000);
}

/* Set font size for all Global headings */
h1, h2, h3, h4, h5, h6 {
  font-size: 16px;
}

/* Set font size for Global paragraphs and list items */
p, ul, li {
  font-size: 14px;
}

/* Navigation Links */
.nav-link {
  color: white;
  font-size:14px;
}

.nav-link:hover {
  color: crimson;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") ;
}


/* Word Character Text Counter Container */
.word-character-text  {
    margin:8px 0px;
    padding:10px 10px;
    background-color:lightblue; 
    border-radius: 5px;
}

/* Form Control */
.form-control {
    height:267px;
}

/* Advertisement Container */
.ads{
    margin:8px 0px;
    background:#000; 
    color:#fff; 
    padding:10px; 
    text-align: center;
}

/* Button Styles */
#caseButton {
  background-color: #004085;
  color: #ffffff;
}

#caseButton:hover {
  background-color: #2d4373;
  transform: scale(1.1);
}

#copyButton {
  background-color: #343a40;
  color: #ffffff;
}

#copyButton:hover {
  background-color: #495057;
  transform: scale(1.1);
}

#pasteButton {
  background-color: #6f42c1;
  color: #ffffff;
}

#pasteButton:hover {
  background-color: #5a2b9d;
  transform: scale(1.1);
}

#deleteButton { 
    background-color: #c82333; 
    color: #ffffff; 
} 

#deleteButton:hover { 
    background-color: #d9534f; 
    transform: scale(1.1); 
}

#saveButton {
  background-color: #155724;
  color: #ffffff;
}

#saveButton:hover {
  background-color: #1e7e34;
  transform: scale(1.1);
}

#undoButton {
  background-color: #343a40;
  color: #ffffff;
}

#undoButton:hover {
  background-color: #495057;
  transform: scale(1.1);
}

#redoButton {
  background-color: #4B0082;
  color: #ffffff;
}

#redoButton:hover {
  background-color: #2E0854;
  transform: scale(1.1);
}

/* Length Button Styles */
#lengthButton {
  background-color: #6f42c1;;
  color: #ffffff;
}

#lengthButton:hover {
  background-color: #5a31a3;
  transform: scale(1.1);
}

#generateButton {
  background-color: #6f42c1; /* Dark Purple */
  color: #ffffff; /* White text for good contrast */
}

#generateButton:hover {
  background-color: #5a31a3; /* Slightly darker purple on hover */
}


#boldBtn {
  background-color: #343a40; /* Dark grey */
}

#boldBtn:hover {
  background-color: #495057; /* Darker grey on hover */
  transform: scale(1.1);
}

#italicBtn {
  background-color: #006400; /* Dark green for better contrast */
  color: #ffffff; /* White text */
}

#italicBtn:hover {
  background-color: #004b00; /* Even darker green on hover */
  transform: scale(1.1);
}

#highlightBtn {
  background-color: #005f73; /* Dark teal for better contrast */
  color: #ffffff; /* White text */
}

#highlightBtn:hover {
  background-color: #004b5c; /* Even darker teal on hover */
  transform: scale(1.1);
}

#underlineBtn {
  background-color: #795548; /* Brown */
  color: #ffffff; /* White text */
}

#underlineBtn:hover {
  background-color: #5d4037; /* Slightly darker brown on hover */
  transform: scale(1.1);
}

#strikethroughBtn {
  background-color: #9c27b0; /* Vibrant Purple */
  color: #ffffff; /* White text */
}

#strikethroughBtn:hover {
  background-color: #8e24aa; /* Slightly darker purple on hover */
  transform: scale(1.1);
}


/* Button Menu */
.dropdown-menu,
.btn {
  font-size: 12px;
}

.btn-custom {
  background-color: #007bff;
  color: white;
}

.btn-custom:hover {
  background-color: #0056b3;
  color: white;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.btn-group .btn:last-child {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

.btn-outline-secondary {
  background-color: #f0f0f0;
  color: #333;
  border-color: #ccc;
}

.btn-outline-secondary:hover {
  background-color: #007bff;
  color: white;
}

.dropdown-menu {
  background-color: #fff;
}

.dropdown-item {
  color: #333;
}

.dropdown-item:hover {
  background-color: #007bff;
  color: white;
}

.detail-value {
  background-color: #6c757d;
  color: white;
  padding: 2px 5px;
  border-radius: 10px;
  width: auto;
  text-align: center;
  font-size: 12px;
}

.detail-label {
  font-size: 12px;
}

.detail-value a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding: 0.2em 0.4em;
    transition: color 0.3s ease;
}

.col {
     margin-bottom:8px;
     padding: 16px;
     background-color: #f9f9f9; 
     border-radius: 8px; 
     border: 1px solid #e0e0e0;
}

.fw-bold {
    background:#f0f0f0;
}

.alert-info {
    display: block;
}

.custom-card {
    display: none;
}

/* No Text Message Container */
.no-text-message {
    display: none;
    text-align: center;
    margin-top: 10px;
}

.new-badge {
    background-color: #9b2cf3; /* Purple background */
    color: #fff; /* White text */
    padding: 2px 8px;
    font-weight: bold;
    border-radius: 5px;
    font-size: 12px;
    margin-left: 20px;
    vertical-align: middle;
    display: inline-block;
    line-height: 1.2;
}

/* Footer Links */
.line {
    line-height: 1.5; 
    font-size:16px;
}

.footer-paragraph {
    line-height: 1.5;
    font-size: 14px;
}

.footer-link {
    color: crimson;
}

.footer-link:hover {
    color: green;
}

.footer a.footer_links {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

.footer a.footer_links:hover {
  color: crimson;
  transform: scale(1.1);
}

/* Footer Social Icons Styling */
.footer-social-container {
  text-align: right;
}

.footer .social-icons {
  display: flex;
  gap: 5px;
}

.footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 5px;
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s;
}

/* Background colors for each social icon */
.footer .social-icons a.facebook {
  background-color: #3b5998;
}

.footer .social-icons a.twitter {
  background-color: #1da1f2;
}

.footer .social-icons a.whatsapp {
  background-color: #25d366;
}

.footer .social-icons a.linkedin {
  background-color: #0088cc;
}

.footer .social-icons a.pinterest {
  background-color: #e4405f;
}

.footer .social-icons a.telegram {
  background-color: #0088cc;
}

.footer .social-icons a.reddit {
  background-color: #FF4500;
}

/* Hover effects for each social icon */
.footer .social-icons a:hover {
  transform: scale(1.1);
}

.footer .social-icons a.facebook:hover {
  background-color: #2d4373;
}

.footer .social-icons a.twitter:hover {
  background-color: #0d95e8;
}

.footer .social-icons a.whatsapp:hover {
  background-color: #1a8a5d;
}

.footer .social-icons a.linkedin:hover {
  background-color: #006db3;
}

.footer .social-icons a.pinterest:hover {
  background-color: #b13556;
}

.footer .social-icons a.telegram:hover {
  background-color: #006db3;
}

.footer .social-icons a.reddit:hover {
  background-color: #FF5700;
}