/* Additional styles for the HRMantra profile page */

/* Cookie consent popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 1000;
    border-top: 1px solid #e2e8f0;
  }
  
  .cookie-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
  }
  
  .cookie-text {
    flex: 1;
    min-width: 300px;
  }
  
  .cookie-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
  }
  
  .cookie-text p {
    font-size: 0.9rem;
    color: #4a5568;
    margin: 0;
  }
  
  .cookie-actions {
    display: flex;
    gap: 0.75rem;
  }
  
  .cookie-hidden {
    display: none;
  }
  
  /* Blog section enhancements */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .blog-card {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .blog-image {
    height: 200px;
    overflow: hidden;
  }
  
  .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .blog-card:hover .blog-image img {
    transform: scale(1.05);
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .blog-category {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3182ce;
    margin-bottom: 0.5rem;
  }
  
  .blog-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }
  
  .blog-excerpt {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 1rem;
    line-height: 1.6;
  }
  
  .blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #718096;
    margin-bottom: 1rem;
  }
  
  .blog-link {
    color: #3182ce;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
  }
  
  .blog-link i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
  }
  
  .blog-link:hover {
    color: #2c5282;
  }
  
  .blog-link:hover i {
    transform: translateX(3px);
  }
  
  .view-all-container {
    text-align: center;
    margin-top: 2rem;
  }
  
  /* Software slider enhancements */
  .software-slider {
    position: relative;
    padding: 0 40px;
    margin-top: 2rem;
  }
  
  .slider-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1rem 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 11 */
  }
  
  .slider-container::-webkit-scrollbar {
    display: none; /* WebKit browsers */
  }
  
  .software-slide {
    min-width: 250px;
    scroll-snap-align: start;
    background-color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 0 0 auto;
  }
  
  .software-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .software-slide-logo {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
  }
  
  .software-slide-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }
  
  .software-slide-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }
  
  .software-slide .stars {
    margin: 0 auto 0.5rem;
  }
  
  .software-slide-desc {
    font-size: 0.85rem;
    color: #4a5568;
    margin-bottom: 1rem;
    min-height: 40px;
  }
  
  .slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #e2e8f0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 5;
  }
  
  .slider-prev {
    left: 0;
  }
  
  .slider-next {
    right: 0;
  }
  
  .slider-prev:hover, .slider-next:hover {
    background-color: #f7fafc;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  }
  
  
  /* Responsive Enhancements */
  @media (max-width: 768px) {
    .cookie-content {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .cookie-actions {
      width: 100%;
      margin-top: 1rem;
    }
  
    .cookie-accept, .cookie-settings {
      flex: 1;
    }
  
    .blog-grid, .alternatives-grid {
      grid-template-columns: 1fr;
    }
  
    .software-slider {
      padding: 0 30px;
    }
  }
  
  /* Dark mode support */
  @media (prefers-color-scheme: dark) {
    .cookie-consent {
      background-color: #1a202c;
      border-top-color: #2d3748;
      color: #e2e8f0;
    }
  
    .cookie-text p {
      color: #a0aec0;
    }
  
    .blog-card, .software-slide {
      background-color: #2d3748;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
  
    .blog-title, .software-slide-title {
      color: #e2e8f0;
    }
  
    .blog-excerpt, .blog-meta, .software-slide-desc {
      color: #a0aec0;
    }
  
    .slider-prev, .slider-next {
      background-color: #2d3748;
      border-color: #4a5568;
    }
  
    .slider-prev:hover, .slider-next:hover {
      background-color: #4a5568;
    }