/* Global Styles - Extracted from Signature Form */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; margin: 0; background-color: #fafafa; color: #333; }
a { text-decoration: none; color: inherit; }

/* Layout Containers */
.container { max-width: 800px; margin: 2rem auto; background: white; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.container-full { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; }
.card { background: white; padding: 20px; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin-bottom: 20px; }

/* Typography */
h1, h2, h3 { color: #f9a825; margin-top: 0; }
.text-center { text-align: center; }

/* Forms */
.form-group { margin-bottom: 15px; text-align: left; }
label { display: block; margin-bottom: 5px; font-weight: 600; color: #444; }
input[type="text"], input[type="email"], input[type="password"], select { 
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; box-sizing: border-box; font-size: 1rem;
}
input[readonly] { background-color: #f0f0f0; color: #777; cursor: not-allowed; }

/* Buttons */
.btn { 
    display: inline-block; padding: 12px 20px; background-color: #f9a825; color: white; border: none; 
    border-radius: 4px; font-size: 1rem; cursor: pointer; transition: background 0.3s; text-align: center;
    text-transform: uppercase; font-weight: bold;
}
.btn:hover { background-color: #f57f17; }
.btn-block { display: block; width: 100%; }
.btn-primary { background-color: #f9a825; color: white; } /* Mapped to gold */
.btn-primary:hover { background-color: #f57f17; }
.btn-danger { background-color: #ef4444; color: white; }
.btn-danger:hover { background-color: #dc2626; }
.btn-success { background-color: #10b981; color: white; }
.btn-sm { padding: 4px 8px; font-size: 0.8rem; }

/* Navbar (Admin) */
.navbar { background: #fff; padding: 1rem 2rem; box-shadow: 0 2px 4px rgba(0,0,0,0.05); display: flex; justify-content: space-between; align-items: center; border-top: 4px solid #f9a825; }
.navbar a { margin-left: 20px; font-weight: 500; color: #555; transition: color 0.3s; }
.navbar a:hover, .navbar .active { color: #f9a825; }
.navbar .brand { font-size: 1.2rem; font-weight: bold; color: #f9a825; }

/* Tables */
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { padding: 12px; text-align: left; border-bottom: 1px solid #eee; }
th { background: #fff8e1; color: #f57f17; font-weight: 600; } /* Light yellow bg for headers */

/* Utilities */
.error { color: #d32f2f; background: #ffebee; padding: 10px; border-radius: 4px; margin-bottom: 20px; border: 1px solid #ffcdd2; }
.checkbox-group { display: flex; align-items: center; margin-top: 5px; font-size: 0.9rem; color: #666; }
.checkbox-group input { margin-right: 8px; width: auto; }
.preview-box { margin-top: 30px; text-align: center; padding: 20px; border: 2px dashed #ddd; border-radius: 8px; }
.preview-box img { max-width: 100%; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Login Specific */
.login-wrapper { display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.login-card { width: 100%; max-width: 400px; background: white; padding: 2rem; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid #f9a825; }

/* Footer */
footer { text-align: center; margin-top: 40px; font-size: 0.8rem; color: #999; padding-bottom: 20px; }
