/* Comments Section Glassmorphism Styling
 * This file contains all styles related to the glassmorphism comment form
 * Author: Claude (for Hypervolt)
 * Version: 1.0
 */

/* Comments Section */
.comments-section {
  margin-top: 4rem;
  padding-top: 3rem;
  background: var(--mint-gradient-subtle);
  border-top: 1px solid var(--mint-border);
  position: relative;
}

.comments-section:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--mint-background);
  border: 1px solid var(--mint-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  box-shadow: 0 2px 4px var(--mint-shadow);
  z-index: 10;
}

.blog-comments {
  margin-bottom: 3rem;
}

.comments-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.comments-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  color: var(--mint-text);
  margin: 0;
}

.comments-icon {
  color: var(--mint-primary);
}

.add-comment-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--mint-primary);
  color: white;
  border-radius: var(--mint-border-radius);
  padding: 0.5rem 1rem;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 2px 4px var(--mint-shadow);
}

.add-comment-button:hover {
  background-color: var(--mint-primary-dark);
  box-shadow: 0 4px 6px var(--mint-shadow);
  color: white;
}

/* Main comment form class - Apply glassmorphism effect */
#comment-form.blog-comment-form,
.span12.blog-comment-form {
  margin: 4rem 0 !important;
  position: relative !important;
  border-radius: var(--mint-border-radius-lg) !important;
  overflow: hidden !important;
  padding: 2rem 0 !important;
  z-index: 1 !important;
}

/* Create glossy background for entire blog-comment-form */
#comment-form.blog-comment-form:before,
.span12.blog-comment-form:before {
  content: '' !important;
  position: absolute !important;
  top: -10% !important;
  left: -10% !important;
  width: 120% !important;
  height: 120% !important;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.1) 50%,
    rgba(16, 185, 129, 0.1) 100%
  ) !important;
  z-index: -1 !important;
  filter: blur(20px) !important;
  pointer-events: none !important;
}

/* Apply these styles directly to all HubSpot forms in the comment section */
.blog-comment-form .hs-form,
.blog-comment-form form.hs-custom-form,
#hs_cos_wrapper_blog_comments form {
  position: relative !important;
  background-color: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  padding: 2rem !important;
  border-radius: var(--mint-border-radius-lg) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2) !important;
  margin: 1rem 0 !important;
}

/* Style for the container */
.comment-form-container {
  position: relative;
  border-radius: var(--mint-border-radius-lg);
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3rem;
  box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.2);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(16, 185, 129, 0.08) 50%,
    rgba(16, 185, 129, 0.08) 100%
  );
}

.comment-form-container:hover {
  box-shadow: 20px 20px 50px -6px rgba(0, 0, 0, 0.25);
}

/* Decorative drops around the form */
.blog-comment-form .drop-1,
.blog-comment-form .drop-2,
.blog-comment-form .drop-3,
.blog-comment-form .drop-4,
.blog-comment-form .drop-5 {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.blog-comment-form .drop-1 {
  height: 80px;
  width: 80px;
  top: -20px;
  left: -20px;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

.blog-comment-form .drop-2 {
  height: 100px;
  width: 100px;
  top: -40px;
  right: -30px;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.08) 0%,
    rgba(16, 185, 129, 0.04) 100%
  );
}

.blog-comment-form .drop-3 {
  height: 120px;
  width: 120px;
  bottom: -50px;
  left: 30%;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05) 0%,
    rgba(16, 185, 129, 0.1) 100%
  );
}

.blog-comment-form .drop-4 {
  height: 80px;
  width: 80px;
  bottom: 30px;
  right: 10%;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.07) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

.blog-comment-form .drop-5 {
  height: 60px;
  width: 60px;
  bottom: -30px;
  left: -30px;
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.07) 0%,
    rgba(16, 185, 129, 0.05) 100%
  );
}

/* Remove hover animation for drops */
/* These animations have been removed to prevent form movement */

.comment-form-title {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--mint-text);
  letter-spacing: -0.02em;
  text-align: center;
  font-weight: 500;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-form-subtitle {
  text-align: center;
  color: var(--mint-text-secondary);
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
  opacity: 0.9;
}

.dark-mode .comment-form-title,
.dark-mode .comment-form-subtitle {
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
}

.comment-form-wrapper {
  margin-bottom: 2rem;
}

/* HubSpot Comment Form Styling - More Specific Selectors */

/* Target the specific form in the comments section */
#hs_cos_wrapper_blog_comments form,
.comment-form-wrapper form,
div.hs_cos_wrapper_type_blog_comments > form,
.hs-blog-post .blog-comments-section form,
#comment-form form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
}

/* Name, Email, Website fields in first row */
#hs_cos_wrapper_blog_comments .hs_firstname,
.comment-form-wrapper .hs_firstname {
  grid-column: 1 / 2;
}

#hs_cos_wrapper_blog_comments .hs_lastname,
.comment-form-wrapper .hs_lastname {
  grid-column: 2 / 3;
}

#hs_cos_wrapper_blog_comments .hs_email,
.comment-form-wrapper .hs_email {
  grid-column: 1 / 2;
}

#hs_cos_wrapper_blog_comments .hs_website,
.comment-form-wrapper .hs_website {
  grid-column: 2 / 3;
}

/* Comment field takes full width */
#hs_cos_wrapper_blog_comments .hs_comment,
.comment-form-wrapper .hs_comment {
  grid-column: 1 / 3;
}

/* Recaptcha and submit button areas */
#hs_cos_wrapper_blog_comments .hs_recaptcha,
.comment-form-wrapper .hs_recaptcha {
  grid-column: 1 / 3;
}

#hs_cos_wrapper_blog_comments .hs_submit,
.comment-form-wrapper .hs_submit {
  grid-column: 1 / 3;
  text-align: center;
}

/* Label styling */
#hs_cos_wrapper_blog_comments label,
.comment-form-wrapper label {
  font-family: var(--mint-font-family);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--mint-text);
  margin-bottom: 0.5rem;
  display: block;
}

/* Input field styling with glassmorphism - using very specific selectors */
.blog-comment-form #hs_cos_wrapper_blog_comments .hs-input,
.blog-comment-form .comment-form-wrapper .hs-input,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-input,
.blog-comment-form .hs-blog-post .blog-comments-section .hs-input,
.blog-comment-form #comment-form .hs-input,
#comment-form input[type="text"],
#comment-form input[type="email"],
#comment-form input[type="password"],
#comment-form input[type="tel"],
#comment-form input[type="search"],
#comment-form input[type="url"],
#comment-form textarea,
#hs_cos_wrapper_blog_comments input[type="text"],
#hs_cos_wrapper_blog_comments input[type="email"],
#hs_cos_wrapper_blog_comments input[type="password"],
#hs_cos_wrapper_blog_comments input[type="tel"],
#hs_cos_wrapper_blog_comments input[type="search"],
#hs_cos_wrapper_blog_comments input[type="url"],
#hs_cos_wrapper_blog_comments textarea,
.hs-form input[type="text"],
.hs-form input[type="email"],
.hs-form input[type="password"],
.hs-form input[type="tel"],
.hs-form input[type="search"],
.hs-form input[type="url"],
.hs-form textarea {
  width: 100% !important;
  padding: 1em !important;
  margin-bottom: 1.5em !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 5000px !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.15) !important;
  color: var(--mint-text) !important;
  font-family: var(--mint-font-family) !important;
  font-weight: 500 !important;
  font-size: 0.9375rem !important;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.blog-comment-form #hs_cos_wrapper_blog_comments .hs-input:hover,
.blog-comment-form .comment-form-wrapper .hs-input:hover,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-input:hover,
.blog-comment-form .hs-blog-post .blog-comments-section .hs-input:hover,
.blog-comment-form #comment-form .hs-input:hover,
#comment-form input[type="text"]:hover,
#comment-form input[type="email"]:hover,
#comment-form input[type="password"]:hover,
#comment-form input[type="tel"]:hover,
#comment-form input[type="search"]:hover,
#comment-form input[type="url"]:hover,
#comment-form textarea:hover,
#hs_cos_wrapper_blog_comments input[type="text"]:hover,
#hs_cos_wrapper_blog_comments input[type="email"]:hover,
#hs_cos_wrapper_blog_comments input[type="password"]:hover,
#hs_cos_wrapper_blog_comments input[type="tel"]:hover,
#hs_cos_wrapper_blog_comments input[type="search"]:hover,
#hs_cos_wrapper_blog_comments input[type="url"]:hover,
#hs_cos_wrapper_blog_comments textarea:hover,
.hs-form input[type="text"]:hover,
.hs-form input[type="email"]:hover,
.hs-form input[type="password"]:hover,
.hs-form input[type="tel"]:hover,
.hs-form input[type="search"]:hover,
.hs-form input[type="url"]:hover,
.hs-form textarea:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.2) !important;
}

.blog-comment-form #hs_cos_wrapper_blog_comments .hs-input:focus,
.blog-comment-form .comment-form-wrapper .hs-input:focus,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-input:focus,
.blog-comment-form .hs-blog-post .blog-comments-section .hs-input:focus,
.blog-comment-form #comment-form .hs-input:focus,
#comment-form input[type="text"]:focus,
#comment-form input[type="email"]:focus,
#comment-form input[type="password"]:focus,
#comment-form input[type="tel"]:focus,
#comment-form input[type="search"]:focus,
#comment-form input[type="url"]:focus,
#comment-form textarea:focus,
#hs_cos_wrapper_blog_comments input[type="text"]:focus,
#hs_cos_wrapper_blog_comments input[type="email"]:focus,
#hs_cos_wrapper_blog_comments input[type="password"]:focus,
#hs_cos_wrapper_blog_comments input[type="tel"]:focus,
#hs_cos_wrapper_blog_comments input[type="search"]:focus,
#hs_cos_wrapper_blog_comments input[type="url"]:focus,
#hs_cos_wrapper_blog_comments textarea:focus,
.hs-form input[type="text"]:focus,
.hs-form input[type="email"]:focus,
.hs-form input[type="password"]:focus,
.hs-form input[type="tel"]:focus,
.hs-form input[type="search"]:focus,
.hs-form input[type="url"]:focus,
.hs-form textarea:focus {
  outline: none !important;
  background: rgba(16, 185, 129, 0.05) !important;
  box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Exception for textarea which should have normal border radius */
.blog-comment-form #hs_cos_wrapper_blog_comments textarea.hs-input,
.blog-comment-form .comment-form-wrapper textarea.hs-input,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments textarea.hs-input,
.blog-comment-form .hs-blog-post .blog-comments-section textarea.hs-input,
.blog-comment-form #comment-form textarea.hs-input,
#comment-form textarea,
#hs_cos_wrapper_blog_comments textarea,
.hs-form textarea {
  border-radius: 1rem !important;
  height: 150px !important; /* Fixed height to match other textarea styles */
  resize: none !important;
}

.blog-comment-form #hs_cos_wrapper_blog_comments .hs-input::placeholder,
.blog-comment-form .comment-form-wrapper .hs-input::placeholder {
  color: var(--mint-text-secondary);
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  opacity: 0.8;
}

/* Text area styling - fixed size that can't be resized */
#hs_cos_wrapper_blog_comments textarea.hs-input,
.comment-form-wrapper textarea.hs-input,
#comment-form textarea,
#hs_cos_wrapper_blog_comments textarea,
.hs-form textarea {
  height: 150px !important;
  resize: none !important;
  line-height: 1.6;
}

/* Button styling with glassmorphism - using very specific selectors */
.blog-comment-form #hs_cos_wrapper_blog_comments .hs-button,
.blog-comment-form .comment-form-wrapper .hs-button,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-button,
.blog-comment-form .hs-blog-post .blog-comments-section .hs-button,
.blog-comment-form #comment-form .hs-button,
#comment-form input[type="submit"],
#hs_cos_wrapper_blog_comments input[type="submit"],
.hs-form input[type="submit"],
#comment-form button[type="submit"],
#hs_cos_wrapper_blog_comments button[type="submit"],
.hs-form button[type="submit"] {
  width: 180px !important;
  padding: 1em !important;
  margin-top: 1.5rem !important;
  background-color: var(--mint-primary) !important;
  color: white !important;
  border: none !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 5000px !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.2) !important;
  font-family: var(--mint-font-family) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  text-decoration: none !important;
}

/* Create shimmer effect on button - highly specific selectors */
.blog-comment-form #hs_cos_wrapper_blog_comments .hs-button:before,
.blog-comment-form .comment-form-wrapper .hs-button:before,
#comment-form input[type="submit"]:before,
#hs_cos_wrapper_blog_comments input[type="submit"]:before,
.hs-form input[type="submit"]:before,
#comment-form button[type="submit"]:before,
#hs_cos_wrapper_blog_comments button[type="submit"]:before,
.hs-form button[type="submit"]:before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  ) !important;
  z-index: 1 !important;
}

/* Add shimmer animation using CSS animations to ensure it works */
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.blog-comment-form #hs_cos_wrapper_blog_comments .hs-button:hover:before,
.blog-comment-form .comment-form-wrapper .hs-button:hover:before,
#comment-form input[type="submit"]:hover:before,
#hs_cos_wrapper_blog_comments input[type="submit"]:hover:before,
.hs-form input[type="submit"]:hover:before,
#comment-form button[type="submit"]:hover:before,
#hs_cos_wrapper_blog_comments button[type="submit"]:hover:before,
.hs-form button[type="submit"]:hover:before {
  animation: shimmer 1s forwards !important;
}

/* Hover states for buttons */
.blog-comment-form #hs_cos_wrapper_blog_comments .hs-button:hover,
.blog-comment-form .comment-form-wrapper .hs-button:hover,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-button:hover,
.blog-comment-form .hs-blog-post .blog-comments-section .hs-button:hover,
.blog-comment-form #comment-form .hs-button:hover,
#comment-form input[type="submit"]:hover,
#hs_cos_wrapper_blog_comments input[type="submit"]:hover,
.hs-form input[type="submit"]:hover,
#comment-form button[type="submit"]:hover,
#hs_cos_wrapper_blog_comments button[type="submit"]:hover,
.hs-form button[type="submit"]:hover {
  background-color: var(--mint-primary-dark) !important;
  box-shadow: 8px 8px 70px rgba(0, 0, 0, 0.3) !important;
}

/* Active states for buttons */
.blog-comment-form #hs_cos_wrapper_blog_comments .hs-button:active,
.blog-comment-form .comment-form-wrapper .hs-button:active,
.blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-button:active,
.blog-comment-form .hs-blog-post .blog-comments-section .hs-button:active,
.blog-comment-form #comment-form .hs-button:active,
#comment-form input[type="submit"]:active,
#hs_cos_wrapper_blog_comments input[type="submit"]:active,
.hs-form input[type="submit"]:active,
#comment-form button[type="submit"]:active,
#hs_cos_wrapper_blog_comments button[type="submit"]:active,
.hs-form button[type="submit"]:active {
  background-color: var(--mint-primary-dark) !important;
  box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.2) !important;
}

/* Required field indicator */
#hs_cos_wrapper_blog_comments .hs-form-required,
.comment-form-wrapper .hs-form-required {
  color: #ef4444;
  margin-left: 0.25rem;
}

/* Error messages */
#hs_cos_wrapper_blog_comments .hs-error-msgs,
.comment-form-wrapper .hs-error-msgs {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: #ef4444;
}

#hs_cos_wrapper_blog_comments .hs-error-msg,
.comment-form-wrapper .hs-error-msg {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

#hs_cos_wrapper_blog_comments .hs-error-msg:before,
.comment-form-wrapper .hs-error-msg:before {
  content: "⚠️";
  font-size: 0.75rem;
}

#hs_cos_wrapper_blog_comments .hs-form-field.error .hs-input,
.comment-form-wrapper .hs-form-field.error .hs-input {
  border-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.05);
}

/* Rich text and success message */
#hs_cos_wrapper_blog_comments .hs-richtext,
.comment-form-wrapper .hs-richtext {
  color: var(--mint-text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  grid-column: 1 / 3;
}

#hs_cos_wrapper_blog_comments .submitted-message,
.comment-form-wrapper .submitted-message {
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--mint-text);
  margin: 1.5rem 0;
  font-size: 1.1rem;
  grid-column: 1 / 3;
  text-align: center;
  box-shadow: 10px 10px 60px rgba(0, 0, 0, 0.1);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

#hs_cos_wrapper_blog_comments .submitted-message:before,
.comment-form-wrapper .submitted-message:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 50px;
  background: var(--mint-primary);
  border-radius: 50%;
  transform: translate(-60%, -60%);
  z-index: -1;
  opacity: 0.5;
}

#hs_cos_wrapper_blog_comments .submitted-message:after,
.comment-form-wrapper .submitted-message:after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: var(--mint-primary);
  border-radius: 50%;
  transform: translate(50%, 50%);
  z-index: -1;
  opacity: 0.5;
}

/* Fix for recaptcha badge */
#hs_cos_wrapper_blog_comments .grecaptcha-badge,
.comment-form-wrapper .grecaptcha-badge {
  opacity: 0.8;
  transform: scale(0.9);
  transform-origin: right bottom;
  box-shadow: none !important;
}

.comment-form-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.2rem;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.1);
  color: var(--mint-text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-top: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.comment-form-note:hover {
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.15);
}

.comment-form-note svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--mint-primary);
}

/* Form responsive styles */
@media (max-width: 576px) {
  .comment-form-container {
    padding: 1.5rem 1rem;
  }
  
  .comment-form-title {
    font-size: 1.5rem;
  }
  
  #hs_cos_wrapper_blog_comments form,
  .comment-form-wrapper form {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  /* Adjust grid columns for mobile */
  #hs_cos_wrapper_blog_comments .hs_firstname,
  .comment-form-wrapper .hs_firstname,
  #hs_cos_wrapper_blog_comments .hs_lastname,
  .comment-form-wrapper .hs_lastname,
  #hs_cos_wrapper_blog_comments .hs_email,
  .comment-form-wrapper .hs_email,
  #hs_cos_wrapper_blog_comments .hs_website,
  .comment-form-wrapper .hs_website,
  #hs_cos_wrapper_blog_comments .hs_comment,
  .comment-form-wrapper .hs_comment {
    grid-column: 1 / 2;
  }
}

/* Dark mode styles for the form */
.dark-mode .blog-comment-form:before {
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.15) 0%,
    rgba(16, 185, 129, 0.15) 50%,
    rgba(16, 185, 129, 0.15) 100%
  );
  opacity: 0.5;
}

.dark-mode .comment-form-container {
  background-color: rgba(37, 39, 46, 0.6);
  background-image: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1) 0%,
    rgba(16, 185, 129, 0.1) 50%,
    rgba(16, 185, 129, 0.1) 100%
  );
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 20px 20px 40px -6px rgba(0, 0, 0, 0.4);
}

/* Dark mode drops styling */
.dark-mode .blog-comment-form .drop-1,
.dark-mode .blog-comment-form .drop-2,
.dark-mode .blog-comment-form .drop-3,
.dark-mode .blog-comment-form .drop-4,
.dark-mode .blog-comment-form .drop-5 {
  background-color: rgba(52, 54, 65, 0.6);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 10px 10px 60px -8px rgba(0, 0, 0, 0.4);
}

/* Dark mode for inputs */
.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-input,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-input,
.dark-mode .blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-input,
.dark-mode .blog-comment-form .hs-blog-post .blog-comments-section .hs-input,
.dark-mode .blog-comment-form #comment-form .hs-input {
  background-color: rgba(45, 47, 55, 0.4);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mint-text);
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.4);
}

.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-input::placeholder,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-input::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-input:hover,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-input:hover,
.dark-mode .blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-input:hover,
.dark-mode .blog-comment-form .hs-blog-post .blog-comments-section .hs-input:hover,
.dark-mode .blog-comment-form #comment-form .hs-input:hover {
  background-color: rgba(45, 47, 55, 0.6);
  box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.5);
}

.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-input:focus,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-input:focus,
.dark-mode .blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-input:focus,
.dark-mode .blog-comment-form .hs-blog-post .blog-comments-section .hs-input:focus,
.dark-mode .blog-comment-form #comment-form .hs-input:focus {
  background-color: rgba(74, 222, 128, 0.08);
  box-shadow: 4px 4px 60px 8px rgba(0, 0, 0, 0.5);
}

/* Dark mode for buttons */
.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-button,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-button,
.dark-mode .blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-button,
.dark-mode .blog-comment-form .hs-blog-post .blog-comments-section .hs-button,
.dark-mode .blog-comment-form #comment-form .hs-button {
  background-color: var(--mint-primary);
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.4);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-button:hover,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-button:hover,
.dark-mode .blog-comment-form div.hs_cos_wrapper_type_blog_comments .hs-button:hover,
.dark-mode .blog-comment-form .hs-blog-post .blog-comments-section .hs-button:hover,
.dark-mode .blog-comment-form #comment-form .hs-button:hover {
  background-color: var(--mint-primary-dark);
  box-shadow: 8px 8px 70px rgba(0, 0, 0, 0.5);
}

.dark-mode .blog-comment-form #hs_cos_wrapper_blog_comments .hs-button:before,
.dark-mode .blog-comment-form .comment-form-wrapper .hs-button:before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
}

.dark-mode #hs_cos_wrapper_blog_comments .submitted-message,
.dark-mode .comment-form-wrapper .submitted-message {
  background-color: rgba(45, 47, 55, 0.5);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 10px 10px 60px rgba(0, 0, 0, 0.3);
  color: var(--mint-text);
}

.dark-mode #hs_cos_wrapper_blog_comments .submitted-message:before,
.dark-mode .comment-form-wrapper .submitted-message:before,
.dark-mode #hs_cos_wrapper_blog_comments .submitted-message:after,
.dark-mode .comment-form-wrapper .submitted-message:after {
  opacity: 0.2;
}

.dark-mode #hs_cos_wrapper_blog_comments .hs-form-field.error .hs-input,
.dark-mode .comment-form-wrapper .hs-form-field.error .hs-input {
  background-color: rgba(239, 68, 68, 0.1);
}

.dark-mode .comment-form-note {
  background-color: rgba(45, 47, 55, 0.3);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 4px 4px 60px rgba(0, 0, 0, 0.3);
}