.punch-container {
  display: block;
}

.punch-card {
  width: 550px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #f7f9fc);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;

  h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
  }
}

.status-badge {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.8px;

  &.in {
    background: #e8f5e9;
    color: #2e7d32;
  }

  &.out {
    background: #ffebee;
    color: #c62828;
  }

  &.none {
    background: #eceff1;
    color: #455a64;
  }
}

.info {
  border-top: 1px dashed #ddd;
  padding-top: 12px;

  .info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;

    .label {
      font-weight: 600;
      color: #607d8b;
    }
  }
}

.button-group {
  display: flex;
  gap: 12px;
  margin-top: 20px;

  button {
    flex: 1;
    height: 46px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }
}

@media screen and (max-width: 768px) {
  .punch-container {
    display: flex;
    justify-content: center;
    padding: 12px;
  }

  .punch-card {
    width: 100%;
    max-width: 480px;
    padding: 16px;
  }

  .header {
    h2 {
      font-size: 18px;
    }
  }

  .status-badge {
    padding: 5px 12px;
    font-size: 12px;
  }

  .info {
    .info-row {
      font-size: 13px;
      padding: 7px 0;
    }
  }

  .button-group {
    gap: 10px;
    margin-top: 18px;

    button {
      height: 44px;
      font-size: 14px;
    }
  }

  ::ng-deep .punch-card.mat-mdc-card {
    padding: 16px !important;
  }
}

@media screen and (max-width: 480px) {
  .punch-container {
    display: flex;
    justify-content: center;
    padding: 8px;
  }

  .punch-card {
    width: 100%;
    max-width: 100%;
    padding: 14px;
    border-radius: 10px;
  }

  .header {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;

    h2 {
      font-size: 16px;
    }
  }

  .status-badge {
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .info {
    padding-top: 10px;

    .info-row {
      flex-direction: row;
      justify-content: space-between;
      font-size: 12.5px;
      padding: 6px 0;

      .label {
        font-size: 12.5px;
      }
    }
  }

  .button-group {
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;

    button {
      width: 100%;
      height: 44px;
      font-size: 13px;
      letter-spacing: 0.5px;
    }
  }

  ::ng-deep .punch-card.mat-mdc-card {
    padding: 14px !important;
    border-radius: 10px !important;
  }
}

@media screen and (max-width: 360px) {
  .punch-card {
    padding: 12px;
  }

  .header h2 {
    font-size: 15px;
  }

  .info .info-row {
    font-size: 12px;
  }

  .button-group button {
    font-size: 12px;
    height: 42px;
  }
}