body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    display: flex;
    gap: 20px;
}

.id-card {
    width: 300px;
    height: 450px;
    perspective: 1000px;
}

.id-card .front, .id-card .back {
    width: 100%;
    height: 100%;
    position: absolute;
    backface-visibility: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    background-color: #fff;
    transition: transform 0.6s;
}

.id-card .back {
    transform: rotateY(180deg);
}

.id-card.flipped .front {
    transform: rotateY(180deg);
}

.id-card.flipped .back {
    transform: rotateY(0deg);
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.header .logo {
    width: 80px;
    height: 80px;
}

.header h1 {
    font-size: 20px;
    margin: 10px 0;
}

.content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.content .photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #007bff;
}

.details p {
    margin: 5px 0;
}

.footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.back h2 {
    margin-bottom: 20px;
}

.back .barcode {
    width: 200px;
    height: 50px;
    margin-top: 20px;
}

.input-fields {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
}

.input-fields h2 {
    margin-bottom: 20px;
}

.input-fields label {
    display: block;
    margin: 10px 0 5px;
}

.input-fields input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.input-fields button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.input-fields button:hover {
    background-color: #0056b3;
}