:root {
            --primary-color: #0066CC;
            /* Medical Blue */
            --secondary-color: #4ECDC4;
            /* Teal */
            --accent-color: #31B44B;
            /* Green */
            --support-color: #357FBE;
            /* Light Blue */
            --light-bg: #f8f9fa;
            --dark-text: #333;
            --med-gray: #6c757d;
            --sidebar-bg: rgba(214, 230, 243, 0.5);
            /* D6E6F3 with 50% opacity */
            /* fadsad */
        }

        body {
            font-family: 'Urbanist', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            color: var(--dark-text);
            background-color: var(--light-bg);
        }

        .navbar {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .navbar-brand {
            font-weight: bold;
            color: var(--accent-color) !important;
        }

        .navbar-brand img {
            height: 40px;
        }

        .nav-link {
            color: var(--dark-text) !important;
            font-weight: 500;
            padding-left: 1rem !important;
            padding-right: 1rem !important;
        }

        .nav-link:hover,
        .nav-link.active {
            color: var(--primary-color) !important;
        }

        .btn-primary {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border: none;
        }

        .btn-secondary {
            background-color: var(--secondary-color);
            border-color: var(--secondary-color);
        }

        .btn-accent {
            background-color: var(--accent-color);
            border-color: var(--accent-color);
            color: white;
        }

        .btn-accent:hover {
            background-color: #2a9d40;
            border-color: #2a9d40;
            color: white;
        }

        .card {
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border: none;
            background-color: #ffffff;
        }

        .card-header {
            background-color: var(--light-bg);
            color: var(--primary-color);
            border-bottom: 1px solid #eee;
            font-weight: 600;
            border-radius: 8px 8px 0 0 !important;
        }

        .footer {
            background-color: #3081C3;
            color: white;
            padding: 40px 0 20px;
        }

        .footer-logo {
            height: 50px;
            margin-bottom: 20px;
        }

        .footer-description {
            font-size: 14px;
            max-width: 280px;
            line-height: 1.5;
            margin-bottom: 20px;
            color: rgba(255, 255, 255, 0.9);
        }

        .footer-nav {
            text-align: right;
            margin-bottom: 30px;
        }

        .footer-nav-link {
            color: white;
            text-decoration: none;
            margin-left: 20px;
            font-size: 14px;
            font-weight: 500;
        }

        .social-icons {
            display: flex;
            gap: 12px;
        }

        .social-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background-color: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            color: white;
            transition: all 0.3s ease;
        }

        .social-icon:hover {
            background-color: white;
            color: #3081C3;
        }

        .footer-section {
            margin-bottom: 25px;
        }

        .footer-section h5 {
            font-size: 16px;
            margin-bottom: 10px;
            font-weight: 600;
            color: white;
        }

        .footer-contact-item {
            display: flex;
            align-items: center;
            font-size: 14px;
            color: rgba(255, 255, 255, 0.9);
        }

        .copyright-line {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            margin-top: 30px;
            padding-top: 20px;
            display: flex;
            justify-content: space-between;
        }

        .footer-copyright {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        .footer-copyright p {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0;
        }

        /* Custom styles */
        .transcription-container {
            height: 300px;
            overflow-y: auto;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            background-color: white;
        }

        .soap-container {
            height: 400px;
            overflow-y: auto;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 15px;
            background-color: white;
        }

        .recording-controls {
            padding: 15px;
            background-color: #f1f1f1;
            border-radius: 5px;
            margin-bottom: 20px;
        }

        .highlight {
            background-color: rgba(78, 205, 196, 0.2);
            padding: 2px 4px;
            border-radius: 3px;
        }

        .subscription-card {
            transition: transform 0.3s ease;
        }

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

        .usage-bar {
            height: 10px;
            border-radius: 5px;
            background-color: #ddd;
            margin-bottom: 10px;
        }

        .usage-progress {
            height: 100%;
            border-radius: 5px;
            background-color: var(--accent-color);
        }

        /* Updated Sidebar Styles */
        .sidebar {
            position: fixed;
            left: 15px;
            top: 15px;
            bottom: 15px;
            width: 280px;
            background: var(--sidebar-bg);
            backdrop-filter: blur(10px);
            z-index: 1000;
            padding: 24px;
            display: flex;
            flex-direction: column;
            font-family: 'Urbanist', sans-serif;
            border-radius: 24px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        .sidebar-logo {
            padding: 0;
            text-align: left;
            margin-bottom: 32px;
        }

        .sidebar-logo img {
            height: 40px;
        }

        .sidebar-menu {
            flex-grow: 1;
            margin-top: 0;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .sidebar-menu .nav-link {
            color: #64748B !important;
            padding: 12px;
            border-radius: 12px;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            font-size: 16px;
            font-weight: 500;
            background: transparent;
            position: relative;
            margin: 0;
        }

        .sidebar-menu .nav-link i {
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
            font-size: 20px;
            color: #64748B;
            transition: all 0.3s ease;
        }

        .sidebar-menu .nav-link:hover,
        .sidebar-menu .nav-link.active {
            background: linear-gradient(90deg, rgba(161, 209, 249, 0.2) 0%, rgba(161, 209, 249, 0.0) 100%);
            color: #3081C3 !important;
        }

        .sidebar-menu .nav-link:hover i,
        .sidebar-menu .nav-link.active i {
            color: #3081C3;
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            cursor: pointer;
            background: rgba(214, 230, 243, 0.5);
            border-radius: 12px;
            margin-top: auto;
            transition: all 0.2s ease;
        }

        .user-profile:hover {
            background: rgba(214, 230, 243, 0.7);
        }

        .user-profile img {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            object-fit: cover;
        }

        .user-profile-info {
            flex: 1;
            min-width: 0;
        }

        .user-profile .name {
            font-size: 14px;
            font-weight: 500;
            color: #1E293B;
            margin-bottom: 2px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .user-profile .email {
            font-size: 12px;
            color: #64748B;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .arrow-right-icon {
            width: 16px;
            height: 16px;
            object-fit: contain;
            margin-left: auto;
            opacity: 0.6;
        }

        .content-wrapper {
            margin-left: 310px;
            padding: 32px;
            min-height: 100vh;
        }

        @media (max-width: 768px) {
            .sidebar {
                left: -100%;
                top: 0;
                bottom: 0;
                border-radius: 0 24px 24px 0;
                transition: left 0.3s ease;
            }

            .sidebar.show {
                left: 0;
            }

            .content-wrapper {
                margin-left: 0;
            }
        }

        /* Sidebar Toggle and Responsive Styles */
        .sidebar-toggle {
            display: none;
            position: fixed;
            top: 1rem;
            left: 1rem;
            z-index: 1000;
            background: white;
            border: none;
            padding: 0.75rem;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }

        .sidebar-toggle i {
            font-size: 1.25rem;
            color: #333;
        }

        .sidebar-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
        }

        @media (max-width: 991px) {
            .sidebar-toggle {
                display: block;
            }

            .sidebar {
                left: -280px;
                transition: all 0.3s ease;
            }

            .sidebar.show {
                left: 0;
            }

            .sidebar-overlay.show {
                display: block;
            }

            .content-wrapper {
                margin-left: 0 !important;
                transition: all 0.3s ease;
            }

            .content-wrapper.active {
                margin-left: 280px !important;
            }
        }

        /* Delete previous modal styles and add these new ones */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1001;
        }

        .profile-update-modal {
            background: white;
            border-radius: 16px;
            width: 100%;
            max-width: 380px;
            padding: 24px;
            position: relative;
        }

        .profile-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .profile-modal-title {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin: 0;
        }

        .profile-modal-close {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 20px;
            color: #888;
            padding: 0;
            line-height: 1;
        }

        .profile-photo-container {
            text-align: center;
            margin-bottom: 24px;
        }

        .profile-photo-wrapper {
            position: relative;
            display: inline-block;
        }

        .profile-photo {
            width: 84px;
            height: 84px;
            border-radius: 50%;
            object-fit: cover;
        }

        .camera-button {
            position: absolute;
            right: 0;
            bottom: 0;
            width: 28px;
            height: 28px;
            background: #3081C3;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
            cursor: pointer;
        }

        .profile-form {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .name-fields {
            display: flex;
            gap: 12px;
        }

        .form-field {
            flex: 1;
            position: relative;
        }

        .form-field.full-width {
            width: 100%;
        }

        .profile-input {
            width: 100%;
            background: #f5f5f5;
            border: none;
            border-radius: 12px;
            padding: 14px 14px 14px 36px;
            font-size: 14px;
            color: #333;
        }

        .profile-input::placeholder {
            color: #888;
        }

        .field-icon {
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            font-size: 14px;
        }

        .eye-icon {
            position: absolute;
            right: 12px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            cursor: pointer;
            font-size: 14px;
        }

        .update-profile-button {
            background: #3081C3;
            color: white;
            border: none;
            border-radius: 30px;
            padding: 12px;
            font-size: 14px;
            width: 140px;
            font-weight: 500;
            cursor: pointer;
            margin-top: 12px;
        }

        /* Add success modal styles */
        .success-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1002;
        }

        .success-modal {
            background: white;
            border-radius: 16px;
            width: 100%;
            max-width: 340px;
            padding: 40px 24px;
            position: relative;
            text-align: center;
        }

        .success-modal-close {
            position: absolute;
            top: 16px;
            right: 16px;
            background: none;
            border: none;
            color: #888;
            font-size: 18px;
            cursor: pointer;
            padding: 0;
        }

        .success-icon-container {
            width: 80px;
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 24px;
            position: relative;
        }

        .success-icon-image {
            width: 100%;
            height: auto;
            max-width: 120px;
        }

        .success-icon {
            color: #3081C3;
            font-size: 36px;
        }

        .sparkle {
            position: absolute;
            color: #3081C3;
            font-size: 14px;
        }

        .sparkle-1 {
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .sparkle-2 {
            top: 50%;
            left: -10px;
            transform: translateY(-50%);
        }

        .sparkle-3 {
            top: 50%;
            right: -10px;
            transform: translateY(-50%);
        }

        .success-message {
            font-size: 18px;
            font-weight: 600;
            color: #333;
            margin-bottom: 8px;
        }

        .success-subtext {
            font-size: 14px;
            color: #666;
        }

        /* Enhanced Footer Styles */
        .enhanced-footer {
            background: linear-gradient(135deg, #2a70b0 0%, #3081C3 100%);
            color: white;
            padding: 60px 0 30px;
            position: relative;
            overflow: hidden;
        }

        .enhanced-footer::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 40%;
            height: 100%;
            background: rgba(255, 255, 255, 0.05);
            clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
        }

        .footer-container {
            position: relative;
            z-index: 1;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 1fr;
            gap: 40px;
            margin-bottom: 50px;
        }

        @media (max-width: 991px) {
            .footer-main {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }

        .footer-logo-section img {
            height: 50px;
            margin-bottom: 24px;
        }

        .footer-description {
            font-size: 14px;
            line-height: 1.6;
            color: rgba(255, 255, 255, 0.85);
            margin-bottom: 24px;
            max-width: 360px;
        }

        .footer-social {
            display: flex;
            gap: 12px;
            margin-bottom: 20px;
        }

        .social-btn {
            width: 38px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .social-btn:hover {
            background: white;
            color: #3081C3;
            transform: translateY(-3px);
        }
        
        .app-download-buttons {
            display: flex;
            gap: 12px;
            margin-top: 5px;
        }
        
        .app-download-btn {
            display: flex;
            align-items: center;
            padding: 10px 15px;
            background: rgba(255, 255, 255, 0.15);
            color: white;
            border-radius: 10px;
            text-decoration: none;
            transition: all 0.3s ease;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .app-download-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
            z-index: -1;
        }
        
        .app-download-btn i {
            font-size: 28px;
            margin-right: 12px;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }
        
        .download-text {
            font-size: 13px;
            line-height: 1.3;
            letter-spacing: 0.5px;
        }
        
        .download-text strong {
            font-size: 16px;
            font-weight: 700;
            display: block;
            margin-top: 2px;
        }
        
        .app-download-btn:hover {
            background: white;
            color: #3081C3;
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
        }
        
        .app-download-btn:hover i {
            animation: pulse 1s infinite;
        }
        
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
            100% {
                transform: scale(1);
            }
        }
        
        .android-btn {
            background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
            border: none;
            animation: subtle-glow-green 3s infinite alternate;
        }
        
        .ios-btn {
            background: linear-gradient(135deg, #2196F3 0%, #0D47A1 100%);
            border: none;
            animation: subtle-glow-blue 3s infinite alternate;
        }
        
        @keyframes subtle-glow-green {
            0% {
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            100% {
                box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
            }
        }
        
        @keyframes subtle-glow-blue {
            0% {
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            }
            100% {
                box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
            }
        }
        
        @media (max-width: 576px) {
            .app-download-buttons {
                flex-direction: column;
                gap: 8px;
            }
        }

        .footer-links-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 24px;
            color: white;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-links-title::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background: rgba(255, 255, 255, 0.3);
        }

        .footer-links ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.2s ease;
            display: inline-flex;
            align-items: center;
        }

        .footer-links a i {
            margin-right: 8px;
            font-size: 14px;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(3px);
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .contact-icon {
            width: 36px;
            height: 36px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .contact-text {
            font-size: 14px;
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.85);
        }

        .contact-text strong {
            display: block;
            font-size: 15px;
            font-weight: 600;
            color: white;
            margin-bottom: 2px;
        }

        .footer-divider {
            height: 1px;
            background: rgba(255, 255, 255, 0.1);
            margin: 20px 0;
        }

        .footer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 20px;
        }

        @media (max-width: 767px) {
            .footer-bottom {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }
        }

        .copyright {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-bottom-links {
            display: flex;
            gap: 24px;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.7);
            font-size: 14px;
            text-decoration: none;
            transition: color 0.2s ease;
        }

        .footer-bottom-links a:hover {
            color: white;
        }
