.elementor-4882 .elementor-element.elementor-element-c961362{--display:flex;--margin-top:20px;--margin-bottom:20px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}body.elementor-page-4882:not(.elementor-motion-effects-element-type-background), body.elementor-page-4882 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#E9EFFA;}.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for html, class: .elementor-element-44ec742 */:root {
            --primary: #0066cc;
            --primary-light: #e6f2ff;
            --dark: #333;
            --light: #f8f9fa;
            --gray: #6c757d;
            --success: #28a745;
            --danger: #dc3545;
            --warning: #ffc107;
        }
        
        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            margin: 0;
            padding: 0 10px;
            min-height: 100vh;
            padding-bottom: 30px;
        }
        .app-header {
            text-align: center;
            padding: 30px 0 20px;
        }
        .app-header h1 {
            color: var(--primary);
            margin-bottom: 8px;
            font-size: 2.5rem;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        .app-header p {
            color: #666;
            font-size: 1.1rem;
            margin: 0 auto;
            max-width: 600px;
        }
        .unit-container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 12px 40px rgba(0,0,0,0.15);
            padding: 30px;
            border: 1px solid #e0e0e0;
            margin-bottom: 30px;
        }
        .input-area {
            border: 2px dashed #d1d1d1;
            border-radius: 12px;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s;
            background-color: white;
            margin-bottom: 25px;
            background: #f8faff;
        }
        .input-area:hover {
            border-color: var(--primary);
            background-color: #f0f8ff;
            box-shadow: 0 8px 20px rgba(0,102,204,0.1);
        }
        .btn-convert {
            background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
            border: none;
            color: white !important;
            font-weight: 600;
            border-radius: 10px;
            padding: 14px 24px;
            font-size: 1.1rem;
            box-shadow: 0 6px 12px rgba(0, 102, 204, 0.25);
            transition: all 0.3s;
            margin-top: 10px;
        }
        .btn-convert:hover {
            background: linear-gradient(135deg, #0052a3 0%, #003d7a 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 16px rgba(0, 102, 204, 0.3);
        }
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 15px;
        }
        .action-buttons .btn {
            flex: 1 1 auto;
            min-width: 90px;
            border-radius: 8px;
            font-weight: 500;
            padding: 8px 12px;
        }
        .card-header {
            background: linear-gradient(to right, #f0f8ff, #e6f2ff);
            border-bottom: 1px solid #e0e0e0;
            padding: 1rem 1.5rem;
            border-radius: 12px 12px 0 0 !important;
        }
        .card-header h5 {
            margin-bottom: 0;
            font-size: 1.25rem;
            font-weight: 600;
            color: var(--primary);
        }
        .mobile-spacer {
            height: 15px;
            display: none;
        }
        .form-group {
            margin-bottom: 20px;
        }
        .form-control, .form-select {
            padding: 12px 15px;
            border-radius: 8px;
            border: 1px solid #d1d1d1;
            font-size: 1.05rem;
        }
        .form-control:focus, .form-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.25);
        }
        
        .card {
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid #e0e0e0;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }
        .btn-outline-secondary {
            transition: all 0.2s;
        }
        .btn-outline-secondary:hover {
            background: var(--primary);
            color: white !important;
        }
        .btn-outline-danger:hover {
            background: var(--danger);
            color: white !important;
        }
        
        .input-header {
            margin-bottom: 25px;
        }
        .input-header h3 {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 10px;
        }
        .input-header p {
            color: #666;
            font-size: 1.05rem;
        }
        
        /* Flashcard Styles - WIDE DESIGN (800x500) */
        .flashcard-container {
            perspective: 1000px;
            width: 800px;
            height: 500px;
            margin: 20px auto;
        }
        
        .flashcard {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
            border-radius: 16px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.2);
        }
        
        .flashcard.flipped {
            transform: rotateY(180deg);
        }
        
        .card-face {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            border-radius: 16px;
            padding: 40px;
            overflow: hidden;
        }
        
        .card-front {
            background: #ffffff;
            color: #333;
            border: 1px solid #e0e0e0;
        }
        
        .card-back {
            background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
            color: #333;
            transform: rotateY(180deg);
        }
        
        .card-content {
            font-size: 2rem;
            text-align: center;
            word-break: break-word;
            max-height: 360px;
            overflow-y: auto;
            padding: 20px;
            width: 100%;
        }
        
        .card-label {
            position: absolute;
            top: 20px;
            left: 20px;
            background: rgba(0, 0, 0, 0.2);
            padding: 8px 16px;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 600;
        }
        
        .voice-btn {
            position: absolute;
            top: 20px;  /* Changed from bottom to top */
            right: 20px;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            border: none;
            color: var(--primary);
            font-size: 1.3rem;
        }
        
        .voice-btn:hover {
            transform: scale(1.1);
            background: white;
        }
        
        .controls {
            display: flex;
            gap: 10px;
            margin-top: 30px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .export-section {
            padding: 20px;
            background: #f8f9fa;
            border-radius: 12px;
            margin-top: 20px;
            border: 1px solid #dee2e6;
        }
        
        .export-section h3 {
            text-align: center;
            margin-bottom: 15px;
            color: var(--primary);
        }
        
        .export-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            align-items: center;
        }
        
        .btn-export {
            min-width: 140px;
            background: white;
            border: 1px solid #dee2e6;
            border-radius: 8px;
            padding: 12px 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s;
            color: var(--primary);
            font-weight: 500;
        }
        
        .btn-export:hover {
            background: var(--primary-light);
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        
        .dropdown-menu {
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            border: 1px solid #e0e0e0;
        }
        
        .dropdown-item {
            padding: 10px 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .dropdown-item:hover {
            background: var(--primary-light);
            color: var(--primary);
        }
        
        .printable-deck {
            display: none;
        }
        
        @media print {
            body * {
                visibility: hidden;
            background: white !important;
            }
            .printable-deck, .printable-deck * {
                visibility: visible;
            }
            .printable-deck {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                padding: 20px;
                background: white !important;
            }
        }
        
        .nav-buttons {
            display: flex;
            gap: 10px;
            width: 100%;
            justify-content: center;
        }
        
        .nav-btn {
            flex: 1;
            max-width: 180px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 1.1rem;
            padding: 12px;
        }
        
        /* Custom scrollbar */
        .card-content::-webkit-scrollbar {
            width: 8px;
        }
        
        .card-content::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.05);
            border-radius: 10px;
        }
        
        .card-content::-webkit-scrollbar-thumb {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 10px;
        }
        
        .card-content::-webkit-scrollbar-thumb:hover {
            background: rgba(0, 0, 0, 0.3);
        }
        
        /* Notification styling */
        .notification {
            position: fixed;
            bottom: 20px;
            right: 20px;
            padding: 15px 25px;
            border-radius: 50px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            z-index: 1000;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.3s ease;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .notification.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .notification.success {
            background-color: var(--success);
            color: white;
        }
        
        .notification.warning {
            background-color: var(--warning);
            color: black;
        }
        
        .notification.error {
            background-color: var(--danger);
            color: white;
        }
        
        .notification.info {
            background-color: var(--primary);
            color: white;
        }
        
        /* Export button sizing */
        .export-options .btn-group {
            min-width: 200px;
        }
        
        .export-options .btn-group .btn {
            min-width: 200px;
            padding: 12px 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        /* Textarea height adjustment */
        #question, #answer {
            height: 120px !important;
            resize: vertical;
            font-size: 1.1rem;
        }
        
        /* Voice Selection Highlight */
        .voice-selection {
            background: #e3f2fd;
            padding: 15px;
            border-radius: 10px;
            text-align: center;
            margin-top: 15px;
            border: 1px solid #bbdefb;
        }
        
        .voice-selection span {
            font-weight: 600;
            color: var(--primary);
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .icon-grid {
                grid-template-columns: repeat(5, 1fr);
            }
            .equal-sign {
                padding: 0 15px;
                font-size: 2.5rem;
            }
        }
        
        @media (max-width: 850px) {
            .flashcard-container {
                width: 95%;
                height: 450px;
            }
        }
        
        @media (max-width: 768px) {
            .unit-container {
                padding: 20px;
            }
            .input-area {
                padding: 1.5rem;
            }
            .app-header {
                padding: 20px 0 10px;
            }
            .app-header h1 {
                font-size: 2rem;
            }
            .mobile-spacer {
                display: block;
            }
            .input-header h3 {
                font-size: 1.5rem;
            }
            .flashcard-container {
                height: 400px;
            }
            .card-content {
                font-size: 1.8rem;
            }
        }
        
        @media (max-width: 576px) {
            .unit-container {
                padding: 15px;
                border-radius: 14px;
            }
            .input-area {
                padding: 1.2rem;
            }
            .app-header h1 {
                font-size: 1.8rem;
            }
            .app-header p {
                font-size: 1rem;
            }
            .btn-convert {
                font-size: 1rem;
                padding: 12px;
            }
            .card-header {
                flex-direction: column;
                align-items: flex-start;
            }
            .card-header h5 {
                margin-bottom: 12px;
            }
            .action-buttons {
                width: 100%;
            }
            .input-header h3 {
                font-size: 1.4rem;
            }
            .flashcard-container {
                height: 350px;
            }
            .export-options {
                flex-direction: column;
                align-items: center;
            }
            .btn-export {
                width: 100%;
                max-width: 300px;
            }
            .nav-btn {
                max-width: 140px;
                font-size: 1rem;
            }
            .export-options .btn-group {
                width: 100%;
                min-width: 100%;
            }
            .card-content {
                font-size: 1.6rem;
                max-height: 280px;
            }
        }/* End custom CSS */