﻿/* Registration Page - Clean Professional Styles */

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
}

h1 {
  margin: 2rem auto;
  font-size: 2rem;
  text-align: center;
  color: #495057;
  font-weight: 600;
}

hr {
  width: 60%;
  margin: 0 auto 2rem auto;
  border: none;
  height: 1px;
  background-color: #dee2e6;
}

/* Registration Form Table */
.register-table {
  border: 1px solid #dee2e6;
  margin: 0 auto 3rem auto;
  background-color: #fff;
  width: min(600px, 90vw);
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.table-heading {
  background-color: #f8f9fa;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem;
  color: #495057;
  border-bottom: 1px solid #dee2e6;
}

.button-row {
  text-align: center;
  padding: 1rem;
}

/* Form Controls */
.register-table input[type="text"],
.register-table input[type="email"],
.register-table input[type="password"],
.register-table select {
  width: 100%;
  max-width: 300px;
  padding: 0.5rem 0.75rem;
  font-family: inherit;
  font-size: 0.875rem;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.register-table input:focus,
.register-table select:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Submit Button */
.register-table button[type="submit"] {
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  background-color: #0d6efd;
  color: white;
  border: 1px solid #0d6efd;
  border-radius: 0.25rem;
  transition: all 0.15s ease-in-out;
}

.register-table button[type="submit"]:hover {
  background-color: #0b5ed7;
  border-color: #0a58ca;
}

.register-table button[type="submit"]:focus {
  box-shadow: 0 0 0 0.2rem rgba(49, 132, 253, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .register-table {
    width: 95vw;
    margin: 0 auto 2rem auto;
  }
  
  h1 {
    font-size: 1.75rem;
    margin: 1.5rem auto;
  }
  
  .table-heading {
    font-size: 1.125rem;
    padding: 0.75rem;
  }
}
