* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: url(https://cdn.phototourl.com/free/2026-06-04-f07e7beb-1788-446d-bfa5-372ecabbe8d4.jpg);
  background-size: cover;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.time-display {
  font-size: 48px;
  font-weight: bold;
  margin: 20px 0;
}

.date-display {
  font-size: 16px;
  opacity: 0.9;
}

.content {
  padding: 30px;
}

.employee-info, .contract-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contract-info {
  background: #fff3cd;
  border-left: 4px solid #ffc107;
}

.employee-info h3, .contract-info h3 {
  color: #667eea;
  margin-bottom: 10px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  padding: 5px 0;
  border-bottom: 1px solid #e0e0e0;
}

.camera-container {
  position: relative;
  width: 100%;
  margin: 20px 0;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

#video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: cover;
}

.location-info {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 10px;
  margin: 20px 0;
  border-left: 4px solid #2196F3;
}

.location-info strong {
  color: #1976D2;
}

.form-group {
  margin: 15px 0;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  flex: 1;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  width: 100%;
}

.btn-checkin {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: white;
}

.btn-checkout {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  color: white;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.status-badge {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-top: 15px;
  width: 100%;
  text-align: center;
}

.status-present {
  background: #4CAF50;
  color: white;
}

.status-late {
  background: #ff9800;
  color: white;
}

.alert {
  padding: 15px;
  border-radius: 10px;
  margin: 10px 0;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

@media (max-width: 600px) {
  .time-display {
    font-size: 36px;
  }
  
  .button-group {
    flex-direction: column;
  }
}