/* Base Styles */
:root {
  --primary-color: #0096d6; /* HP Blue */
  --secondary-color: #333;
  --accent-color: #ff6e1d; /* HP Orange */
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --success-color: #28a745;
  --error-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --border-color: #dee2e6;
  --text-color: #333;
  --text-light: #6c757d;
  --font-family: "Roboto", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f5f5f5;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

/* Layout */
.container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.header {
  background-color: #0b094b;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  max-height:75px ;
  width: auto;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin-top: 1rem;
}

.main-nav a {
  color: var(--secondary-color);
  font-weight: 500;
  padding: 0.5rem 0;
}

.main-nav a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

.main-content {
  flex: 1;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer {
  background-color: #0b094b;
  color: white;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* Forms */
.registration-form,
.login-form,
.claim-form {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group input[type="file"] {
  padding: 0.5rem;
}

.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--error-color);
}

.error-message {
  color: var(--error-color);
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #007bbd;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--light-color);
  color: var(--secondary-color);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: #e2e6ea;
  text-decoration: none;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert-error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.alert-info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

/* Dashboard */
.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-actions {
  margin-bottom: 2rem;
}

.claims-list {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.table-responsive {
  overflow-x: auto;
}

.claims-table {
  width: 100%;
  border-collapse: collapse;
}

.claims-table th,
.claims-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.claims-table th {
  background-color: var(--light-color);
  font-weight: 500;
}

/* Status Badges */
.status-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.status-pending {
  background-color: #fff3cd;
  color: #856404;
}

.status-approved {
  background-color: #d4edda;
  color: #155724;
}

.status-rejected {
  background-color: #f8d7da;
  color: #721c24;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
  }

  .logo-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .main-content {
    padding: 1rem;
  }

  .registration-form,
  .login-form,
  .claim-form {
    padding: 1.5rem;
  }

  .claims-table th,
  .claims-table td {
    padding: 0.75rem;
  }
}

/* View Claim Page */
.claim-details {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.claim-details h2 {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-card {
  margin-top: 1.5rem;
}

.detail-row {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: 500;
  width: 200px;
  color: var(--text-light);
}

.detail-value {
  flex: 1;
}

/* Home Page */
.hero {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-color);
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.info-section {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-top: 2rem;
}

.info-section h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.steps {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.step {
  flex: 1;
  text-align: center;
  padding: 1.5rem;
  border-radius: 8px;
  background-color: var(--light-color);
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1rem;
}

.step h4 {
  margin-bottom: 0.75rem;
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .steps {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* Success Page */
.success-message {
  text-align: center;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  margin-bottom: 1.5rem;
}

.success-message h2 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.success-message p {
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* Thank You Page Styles */
.thank-you-container {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.thank-you-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.next-steps {
    margin-top: 2rem;
    text-align: left;
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.next-steps h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.next-steps ol {
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .thank-you-actions {
        flex-direction: column;
    }
    
    .thank-you-actions .btn {
        width: 100%;
    }
}
