
        :root {
            --primary: #4caf50;
            --secondary: #ff9800;
            --accent: #f44336;
            --light: #e8f5e9;
            --dark: #1b5e20;
        }

        * {
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            margin: 0;
            padding: 20px;
            background-color: #f9f9f9;
            color: #333;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: white;
            padding: 20px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        header {
            text-align: center;
            margin-bottom: 20px;
            background-color: var(--primary);
            color: white;
            padding: 15px;
            border-radius: 10px;
        }

        h1 {
            margin: 0;
            font-size: 2.5rem;
            text-shadow: 2px 2px 0 var(--dark);
        }

        .tabs {
            display: flex;
            margin-bottom: 20px;
            background-color: var(--light);
            border-radius: 10px;
            overflow: hidden;
        }

        .tab-btn {
            flex: 1;
            padding: 15px;
            font-size: 1.2rem;
            border: none;
            background: transparent;
            cursor: pointer;
            transition: all 0.3s;
        }

        .tab-btn.active {
            background-color: var(--primary);
            color: white;
            font-weight: bold;
        }

        .tab-content {
            display: none;
            padding: 20px;
            border: 2px solid var(--primary);
            border-radius: 10px;
            margin-bottom: 20px;
        }

        .tab-content.active {
            display: block;
        }

        .input-group {
            margin-bottom: 15px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
            color: var(--dark);
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 10px;
            border: 2px solid var(--primary);
            border-radius: 5px;
            font-size: 1rem;
        }

        .colourinput {
            width: 70px;
            padding: 0px;
            margin: 10px 0 5px 0px
        }


        button {
            background-color: var(--secondary);
            color: white;
            border: none;
            padding: 12px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: bold;
            transition: all 0.3s;
            margin: 5px;
        }

        button:hover {
            background-color: var(--accent);
            transform: scale(1.05);
        }

        .bingo-card {
            display: inline-block;
            margin: 10px;
            border: 3px solid var(--dark);
            border-radius: 10px;
            overflow: hidden;
            background: white;
        }

        .bingo-row {
            display: flex;
        }

        .bingo-cell {
            width: 100px;
            height: 100px;
            border: 1px solid #ccc;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            background: #fff;
            text-align: center;
            padding: 5px;
            font-size: 0.9rem;
        }

        .free-cell {
            background-color: var(--light);
            color: var(--dark);
        }

        .preview-container {
            margin-top: 20px;
            text-align: center;
            max-height: 500px;
            overflow-y: auto;
            padding: 10px;
            border: 2px dashed var(--primary);
            border-radius: 10px;
        }

        .bingo-balls {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 10px;
            margin-top: 20px;
            padding: 10px;
            background-color: var(--light);
            border-radius: 10px;
        }

        .ball {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: var(--secondary);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem;
            box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s;
        }

        .ball.new {
            animation: pop 0.5s ease-out;
        }

        @keyframes pop {
            0% {
                transform: scale(0);
                opacity: 0;
            }

            70% {
                transform: scale(1.2);
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .drawn-number {
            font-size: 4rem;
            text-align: center;
            margin: 20px 0;
            color: var(--accent);
            font-weight: bold;
            text-shadow: 2px 2px 0 #ccc;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.5s;
        }

        .drawn-number.animated {
            animation: numberReveal 1s ease-out;
        }

        @keyframes numberReveal {
            0% {
                transform: scale(0) rotate(-180deg);
                opacity: 0;
            }

            100% {
                transform: scale(1) rotate(0deg);
                opacity: 1;
            }
        }

        .file-upload {
            background-color: var(--light);
            padding: 15px;
            border-radius: 10px;
            margin-bottom: 15px;
            border: 2px dashed var(--primary);
        }

        .print-receipt {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            margin-top: 20px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }

        /* Bingo Machine Styles */
        .bingo-machine {
            position: relative;
            width: 300px;
            height: 400px;
            margin: 20px auto;
            perspective: 1000px;
        }

        .machine-body {
            position: absolute;
            width: 100%;
            height: 350px;
            background: linear-gradient(45deg, #333, #555);
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .machine-glass {
            position: absolute;
            top: 20px;
            left: 20px;
            width: calc(100% - 40px);
            height: 200px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            overflow: hidden;
        }

        .ball-container {
            position: absolute;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .rolling-ball {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: radial-gradient(circle at 30% 30%, var(--secondary), #e65100);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            font-size: 1.5rem;
            box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
            transform-style: preserve-3d;
        }

        .machine-base {
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50px;
            background: linear-gradient(to bottom, #222, #000);
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        .machine-button {
            position: absolute;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 60px;
            background: var(--accent);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-weight: bold;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.2s;
            z-index: 10;
        }

        .machine-button:active {
            transform: translateX(-50%) scale(0.95);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .sound-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 15px 0;
            padding: 10px;
            background: var(--light);
            border-radius: 10px;
        }

        .sound-controls label {
            margin: 0 10px;
            font-weight: normal;
        }

        .sound-controls input {
            width: 100px;
        }

       .bingo-header {
            text-align: center;
            font-weight: bold;
            padding: 10px;
            background-color: var(--primary);
            color: white;
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
        }

        .header-input-group {
            margin-bottom: 15px;
            display: none;
        }

        @media (max-width: 768px) {
            .tabs {
                flex-direction: column;
            }

            .bingo-cell {
                width: 45px;
                height: 45px;
                font-size: 0.7rem;
            }

            .bingo-machine {
                width: 250px;
                height: 350px;
            }

            .machine-body {
                height: 300px;
            }

            .rolling-ball {
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }

            
        }
