        :root {
            --gold: #c5a02c;
            --dark-gold: #9e7e1d;
            --gray-bg: #f2f2f2;
            --text-dark: #333;
        }

        /* Card Container */
        .card {
            width: 600px;
            height: 350px;
            /* background: black; */
            position: relative;
            display: flex;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            /* background-image: url('{{ asset("idreso/idbg2.png") }}'); */
            z-index: 1;

        }

        .bg-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
            /* පසුබිමට 0 ලබා දෙන්න */
            object-fit: cover;
        }

        /* Profile Picture */
        .profile-pic {
            position: absolute;
            left: 9px;
            top: 9px;
            height: 170px;
            width: 170px;
            border-radius: 20%;
            border: 2px solid black;
            background-size: cover;
            z-index: 3;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            align-items: center;
            object-fit: contain;
            object-position: center;

        }

        /* Teacher Picture */
        .teacher-pic {
            position: absolute;
            left: 1px;
            bottom: 0px;
            width: 100px;
            height: 100px;
            background-size: cover;
            z-index: 3;
        }

        /* logo Picture */
        .logo-pic {
            width: 230px;
            /* height: 80px; */
            position: absolute;
            /* දකුණු පස කෙළවරටම ඇලවීමට */
            right: 0;
            top: 0;
            /* ඇතුළත ඇති image එක දකුණටම තල්ලු කිරීමට */
            display: flex;
            justify-content: flex-end;
            align-items: flex-start;
            z-index: 3;
        }

        .logo-pic img {
            width: 70%;
            /* margin-left සහ margin-top අවශ්‍යතාවය අනුව ඉවත් කරන්න හෝ අඩු කරන්න */
            margin: 3px;
            background-color: black;
            border-radius: 20px;
        }

        /* Content Area */
        .content {
            position: absolute;
            top: 0;
            left: 0;
            margin-left: 100px;
            padding: 10px 10px;
            z-index: 5;
            flex-grow: 1;
            pointer-events: none;

        }

        .header-right {
            position: absolute;
            bottom: 2px;
            left: 105px;
            text-align: left;

            background-color: black;
            border-radius: 10px;
            display: inline-block;
            padding: 3px 5px;
        }

        .company-logo {
            /* color: var(--gold); */
            color: goldenrod;
            font-weight: 900;
            font-size: 28px;
            letter-spacing: 2px;
            line-height: 1;
        }

        .tagline {
            font-size: 10px;
            letter-spacing: 3px;
            color: goldenrod;
            margin-top: 2px;
            font-weight: bold;
            z-index: 3;

            background-color: black;
            border-radius: 10px;
            display: inline-block;
            padding: 3px 8px;
        }

        .name-section {
            margin-top: 48px;
            z-index: 5;
            margin-left: 77px;
        }

        .name {
            font-size: 30px;
            font-weight: 600;
            /* padding-left: 100px; */
            color: goldenrod;
            margin: 0;
            z-index: 5;
            background-color: black;
            border-radius: 10px;
            display: inline-block;
            padding: 2px 5px;

        }

        .job-title {
            font-size: 30px;
            color: goldenrod;
            font-weight: bold;
            margin-top: 5px;
            margin-left: 60px;
        }

        /* Details Table */
        .details {
            margin-top: 90px;
            margin-left: 0px;
            font-size: 16px;
            color: white;
            border-collapse: collapse;
            font-weight: bolder;
            z-index: 3;

            background-color: black;
            border-radius: 10px;
            display: inline-block;
            padding: 3px 5px;
            position: absolute;

        }

        .details td {
            padding: 3px 0;

        }

        .label {
            text-align: left;
            font-weight: 400;
            /* width: 80px; */
            font-weight: bold;

        }

        .labledata {
            text-align: left;
            font-weight: 400;
            /* width: 100px; */
            /* width: 300px; */
        }


        .wrapperz {
            width: 200px;
        }

        /* QR Code */
        .qr-code {
            position: absolute;
            bottom: 60px;
            right: 10px;
            width: 180px;
            height: 180px;
            background: white;
            padding: 2px;
            border: 1px solid #ddd;

            display: flex;
            justify-content: center;
            align-items: center;
        }

        .qr-code img {
            width: 100%;
        }