body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
}

.jumbotron {
    border-radius: 10px;
    padding: 2rem 2rem;
}

.list-group-item a {
    text-decoration: none;
    color: #212529;
    display: block;
}

.list-group-item a:hover {
    color: #0d6efd;
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.progress {
    border-radius: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
}









    /* Sharing buttons styles */
    .sharing-section {
        position: relative;
        margin-top: 30px;
    }
    
    .share-label {
        display: block;
        margin-bottom: 15px;
        color: #555;
        font-weight: 500;
    }
    
    .share-main-btn {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, #6e8efb, #a777e3);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        color: white;
        font-size: 24px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(110, 142, 251, 0.4);
        z-index: 10;
        position: relative;
    }
    
    .share-main-btn:hover {
        transform: rotate(15deg) scale(1.1);
        box-shadow: 0 8px 20px rgba(110, 142, 251, 0.6);
    }
    
    .share-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 20px;
        height: 0;
        overflow: hidden;
        transition: all 0.4s ease;
    }
    
    .sharing-section:hover .share-buttons {
        height: 60px;
    }
    
    .share-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        font-size: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        transform: scale(0);
        opacity: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .sharing-section:hover .share-btn {
        transform: scale(1);
        opacity: 1;
    }
    
    .share-btn:nth-child(1) {
        background: #3b5998;
        transition-delay: 0.1s;
    }
    
    .share-btn:nth-child(2) {
        background: #1da1f2;
        transition-delay: 0.2s;
    }
    
    .share-btn:nth-child(3) {
        background: #25d366;
        transition-delay: 0.3s;
    }
    
    .share-btn:nth-child(4) {
        background: #0077b5;
        transition-delay: 0.4s;
    }
    
    .share-btn:hover {
        transform: scale(1.1) important;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    }
    
    .tooltip {
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 12px;
        opacity: 0;
        transition: opacity 0.3s;
        white-space: nowrap;
    }
    
    .share-main-btn:hover .tooltip {
        opacity: 1;
    }







/* Modern Dropdown Sidebar Styles */
    .calculator-sidebar {
        background: linear-gradient(135deg, #2c3e50 0%, #1a2530 100%);
        color: white;
        border-radius: 8px;
        padding: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 25px;
    }

    .sidebar-title {
        background-color: #16a085;
        padding: 15px 20px;
        font-size: 1.2rem;
        font-weight: 600;
        border-radius: 8px 8px 0 0;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .menu-section {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .dropdown-btn {
        background-color: transparent;
        color: white;
        padding: 14px 20px;
        width: 100%;
        border: none;
        text-align: left;
        cursor: pointer;
        outline: none;
        font-size: 1rem;
        font-weight: 500;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
    }

    .dropdown-btn:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

    .dropdown-btn.active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown-btn i {
        transition: transform 0.3s ease;
        font-size: 0.9rem;
    }

    .dropdown-btn.active i {
        transform: rotate(180deg);
    }

    .dropdown-container {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background-color: rgba(0, 0, 0, 0.2);
    }

    .dropdown-container.active {
        max-height: 500px;
    }

    .dropdown-container a {
        display: flex;
        align-items: center;
        padding: 12px 20px 12px 30px;
        text-decoration: none;
        color: #ddd;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
        font-size: 0.95rem;
    }

    .dropdown-container a i {
        margin-right: 12px;
        font-size: 0.9rem;
        color: #16a085;
    }

    .dropdown-container a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        color: white;
        border-left: 3px solid #16a085;
    }
    
    /* Adjust main content layout */
    .main-content-container {
        display: flex;
        gap: 25px;
    }
    
    .sidebar-column {
        flex: 0 0 280px;
    }
    
    .content-column {
        flex: 1;
    }
    
    @media (max-width: 992px) {
        .main-content-container {
            flex-direction: column;
        }
        
        .sidebar-column {
            flex: 1;
            width: 100%;
        }
    }
    
    
    
    
    
    
    
    
    
    
 .search-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px; /* small compact size */
  margin: auto;
}

.search-box {
  display: flex;
  align-items: center;
  background: #f6f7f9;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  padding: 6px 12px;
  transition: 0.25s ease;
}

.search-box:focus-within {
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,123,255,.2);
}

.search-icon {
  font-size: 16px;
  margin-right: 8px;
  opacity: 0.6;
}

.search-box input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 6px 0;
}

.suggestions {
  position: absolute;
  width: 100%;
  top: 105%;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,.12);
  overflow: hidden;
  display: none;
  z-index: 99999;
}

.suggestion-item {
  padding: 10px 14px;
  font-size: 15px;
  cursor: pointer;
  transition: .25s;
}

.suggestion-item:hover {
  background: #007bff;
  color: #ffffff !important;
}


.suggestion-item:hover .highlight {
  color: #fff !important;
}

