body{
  margin: 0;
   background: #f6f6f6;
}

.identity-card-wrapper {
  font-family: Arial, sans-serif;
  padding: 20px;
  text-align: flex-start;
}

.identity-card-wrapper .title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}
.id-buttons {
  text-align: right;
  margin-bottom: 15px;
  justify-content: flex-end;
}

.id-buttons button {
  margin-left: 10px;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border: none;
  background-color:black;
  color: white;
  border-radius: 5px;
}

.id-buttons button:hover {
  background-color:black;
}





.card-container {
  display: flex;
  /* justify-content: center; */
  justify-content: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 300px;
  height: 460px;
  border: 1px solid #ccc;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 12px;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* === Front Side === */

.front .school-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.school-logo {
  width: 40px;
  height: 40px;
  background: gray;
  border-radius: 50%;
}

.issue-date {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 10px;
}

.photo-placeholder {
  width: 80px;
  height: 100px;
  background-color: lightgray;
  margin: 0 auto 10px;
}

.details {
  font-size: 12px;
  text-align: left;
}

.details p {
  margin: 4px 0;
}

.footer {
  margin-top: auto;
  background-color: #d3d3d3;
  padding: 8px;
  font-size: 12px;
  text-align: center;
}

/* === Back Side === */


.card.back .corner-design {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 60px solid black;
  border-left: 60px solid transparent;
}
.card.back {
  position: relative;
}




.photo-circle {
  width: 60px;
  height: 60px;
  background-color: lightgray;
  border-radius: 50%;
  margin: 10px auto;
}

.back h3 {
  margin: 10px 0 5px 0;
}

.student-address,
.terms {
  font-size: 12px;
  text-align: left;
  margin: 8px 10px;
}

.terms ul {
  margin-top: 5px;
  padding-left: 20px;
}

.qr-code {
  margin-top: auto;
  text-align: center;
  font-size: 10px;
  margin-bottom: 10px;
}

.qr-placeholder {
  width: 50px;
  height: 50px;
  background-color: gray;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 4px;
}
