/* contract_ai/client/styles.css
 * Basic styling for the contract analyzer front‑end.
 */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f9fafb;
  color: #333;
}

.app-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h1 {
  margin-top: 0;
  color: #2c3e50;
}

.subtitle {
  margin-top: -10px;
  margin-bottom: 20px;
  color: #555;
}

.form-group {
  margin-bottom: 1rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input[type="file"],
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  background-color: #3498db;
  color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

.submit-btn:disabled {
  background-color: #95a5a6;
  cursor: default;
}

.submit-btn:not(:disabled):hover {
  background-color: #2980b9;
}

.answer-container {
  margin-top: 2rem;
  padding: 1rem;
  border-top: 1px solid #eee;
  background-color: #f5f7f9;
  border-radius: 4px;
}

.answer-container h2 {
  margin-top: 0;
  color: #2c3e50;
}

/* Navigation bar */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.logo {
  font-weight: bold;
  font-size: 1.2rem;
}
.nav-links a {
  margin-right: 1rem;
  color: #3498db;
  text-decoration: none;
}
.nav-btn {
  padding: 0.4rem 0.8rem;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.nav-btn:hover {
  background-color: #2980b9;
}

/* Notice message */
.notice {
  background-color: #ffebc5;
  border: 1px solid #f0c36d;
  padding: 0.8rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  color: #664d03;
}

/* Account details */
.account-details {
  margin-top: 1rem;
}