/*  
    File Name & Purpose: style.css - Apply modern UI to prjDBF.php
    Course Name: CSC235 Server-Side Development
    Project Name: prjDBF
    Author: Kayla Marcus
    Email: marcusk@csp.edu
    Written: 2025-11-07
    Revised: N/A
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

body {
  background: #F8F9FB;
  font-family: 'Inter', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 18px;
}

/* Layout Frame */
#frame {
  max-width: 960px;
  margin: 2rem auto;
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* Headings */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #0e4c9c;
  margin-bottom: 1rem;
  width: 60%;
  text-align: center;
  margin: 2rem auto 0rem;
}

h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2.2rem;
  padding-bottom: 6px;
  border-bottom: 2px solid #E0E7F1;
  color: #333;
}

/* Lists */
li {
  margin: 0.75em 0;
}

/* Inputs & Selects */
input[type="text"],
select {
  width: 100%;
  max-width: 420px;
  padding: 12px 14px;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #D2D8E4;
  background: #fff;
  color: #333;
  transition: 0.2s ease;
  margin: 12px 0;
}

input[type="text"]:focus,
select:focus {
  border-color: #2B7DE9;
  box-shadow: 0 0 0 4px rgba(43, 125, 233, 0.2);
  outline: none;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 28px;
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);
}

th {
  background: #2B7DE9;
  color: #fff;
  padding: 14px 18px;
  font-weight: 500;
  text-align: left;
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid #E6E9EF;
}

tr:nth-child(even) {
  background: #F1F4FA;
}
