
        body {
            font-family: Arial, sans-serif;
            background: #f4f4f4;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .id-card-container {
            margin-bottom: 20px;
            display: none;
        }

        .id-card {
            width: 850px;
            height: 540px;
            padding: 40px;
            border: 1px solid #000;
            background-color: #fff;
            position: relative;
        }

        .id-title {
            text-align: center;
            font-weight: bold;
            font-size: 22px;
        }

        .subtitle {
            text-align: center;
            font-size: 13px;
            margin-bottom: 20px;
        }

        .field,
        .numbered {
            display: flex;
            font-size: 14px;
            margin-bottom: 10px;
        }

        .numbered span {
            width: 25px;
        }

        .photo-box {
            width: 140px;
            height: 160px;
            border: 1px solid #000;
            position: absolute;
            right: 60px;
            top: 230px;
            text-align: center;
            font-size: 12px;
        }

        .photo-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .seal {
            text-align: right;
            font-size: 12px;
            margin-top: 40px;
            margin-right: 30px;
        }

        #download-btn {
            padding: 10px 20px;
            font-size: 14px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }

        #download-btn:hover {
            background-color: #0056b3;
        }

        #loader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            font-size: 20px;
        }

        .hidden {
            display: none;
        }
   