/* File: public_html/admin/style.css */
/* Global Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; background: #f5f7fa; color: #333; }

a { color: #0066cc; text-decoration: none; }
a:hover { text-decoration: underline; }

header { background: #004085; color: #fff; padding: 1rem; display: flex; justify-content: space-between; align-items: center; }
header h1 { font-size: 1.5rem; }
header nav a { margin-left: 1rem; color: #fff; font-weight: bold; }

main { max-width: 1000px; margin: 2rem auto; padding: 0 1rem; }

/* Tables */
table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
th, td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #e0e0e0; }
th { background: #e9ecef; font-weight: 600; }
tr:nth-child(even) { background: #f8f9fa; }

/* Forms */nform { background: #fff; padding: 1.5rem; margin-bottom: 2rem; border-radius: 8px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
input[type="text"], input[type="password"], select {
  width: 100%; padding: 0.6rem; margin-bottom: 1rem; border: 1px solid #ccc; border-radius: 4px;
}

/* Buttons */
button, .button { display: inline-block; background: #0066cc; color: #fff; border: none; padding: 0.6rem 1.2rem; border-radius: 4px; cursor: pointer; font-size: 1rem; transition: background 0.2s; }
button:hover, .button:hover { background: #004085; }

/* Specific elements */
.login-card { max-width: 400px; margin: 5rem auto; padding: 2rem; background: #fff; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.login-card h2 { text-align: center; margin-bottom: 1.5rem; }
.error { color: #c53030; margin-bottom: 1rem; text-align: center; }

/* Responsive */
@media (max-width: 600px) {
  .cf7-grid { grid-template-columns: 1fr !important; }
  header { flex-direction: column; align-items: flex-start; }
  header nav { margin-top: 0.5rem; }
}
