* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f4f4f4;
            color: #333;
            line-height: 1.6;
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        h1, h2 {
            color: #111;
            margin-bottom: 1.5rem;
            font-weight: 600;
        }

        h1 { text-align: center; margin-bottom: 2rem; }
        
        /* --- 2. Stats Section (Cards) --- */
        .main-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
            margin-bottom: 2rem;
        }

        .main-container > div {
            background: #fff;
            padding: 1.5rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 1px solid #e0e0e0;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .main-container > div:hover {
            transform: translateY(-3px);
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }

        .main-container label {
            font-size: 0.85rem;
            font-weight: 700;
            color: #666;
            letter-spacing: 1px;
            margin-bottom: 0.5rem;
        }

        .main-container input {
            font-size: 2rem;
            font-weight: bold;
            text-align: center;
            border: none;
            background: transparent;
            width: 100%;
            color: #000;
        }

        /* --- 3. Form Section --- */
        .client-container {
            background: #fff;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            border: 1px solid #e0e0e0;
            margin-bottom: 2rem;
        }

        .client-container > div {
            margin-bottom: 1rem;
        }

        label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: #444;
        }

        input[type="text"], 
        select {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 1rem;
            transition: border-color 0.3s ease;
        }

        input[type="text"]:focus, 
        select:focus {
            outline: none;
            border-color: #000; /* Black focus border */
        }

        button#add-client-btn {
            display: block;
            width: 100%;
            padding: 1rem;
            background-color: #000;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.1s ease;
            margin-top: 1rem;
        }

        button#add-client-btn:hover {
            background-color: #333;
        }

        button#add-client-btn:active {
            transform: scale(0.98);
        }

        /* --- 4. Client List Output --- */
        #client-list {
            display: grid;
            gap: 1rem;
        }

        .output {
            background: #fff;
            padding: 1rem 1.5rem;
            border-radius: 6px;
            border: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: box-shadow 0.2s ease;
        }

        .output:hover {
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            border-color: #ccc;
        }

        .output span {
            flex: 1;
            font-weight: 500;
        }

        .output span:nth-child(3) {
            text-transform: uppercase;
            font-size: 0.85rem;
            font-weight: 700;
            color: #555;
            text-align: center;
        }

        .output button {
            padding: 0.5rem 1rem;
            background-color: transparent;
            color: #d9534f;
            border: 1px solid #d9534f;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            flex: 0 0 auto;
        }
        

        .output button {
            color: #000;
            border: 1px solid #000;
        }

        .output button:hover {
            background-color: #d9534f;
            color: #fff;
        }

        /* --- 5. Responsive Design --- */
        @media (max-width: 768px) {
            body {
                padding: 1rem;
            }

            .output {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.5rem;
            }

            .output span, .output button {
                width: 100%;
                text-align: left;
            }

            .output button {
                margin-top: 0.5rem;
                text-align: center;
            }
        }