/* =====================
   CSS RESET
===================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f5f7fa;
    color: #222;
    line-height: 1.6;
}

/* =====================
   LAYOUT
===================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px;
}

/* =====================
   HEADER
===================== */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: #2563eb;
}

.main-nav a {
    margin-left: 16px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
}

.main-nav a:hover {
    color: #2563eb;
}

/* =====================
   HERO
===================== */
.hero {
    padding: 64px 24px;
    text-align: center;
}

.hero h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.subtitle {
    color: #6b7280;
    margin-bottom: 24px;
}

/* =====================
   BUTTON VARIANTS
===================== */
.btn-inline {
    width: auto;
    margin: 0 8px;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: #ffffff;
}

/* =====================
   GRID / CARDS
===================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.card {
    background: #ffffff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card h3 {
    margin-bottom: 8px;
}

/* PROFILE LIST */
.profile-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-list li {
    margin-left: 16px;
    margin-bottom: 0px;
}

.profile-list span {
    display: inline-block;
    width: 270px;
    font-weight: bold;
}

/* =====================================================
   BUTTONS
===================================================== */
.actions {
    margin-top: 20px;
    margin-left: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 16px;
    background: var(--accent-blue);
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-right: 10px;
}

.btn.secondary {
    background: #6b7280;
}

.btn:hover {
    opacity: 0.9;
}

/* =====================
   FORMS (LOGIN / REGISTER)
===================== */
.form-card {
    background: #ffffff;
    max-width: 420px;
    margin: 60px auto;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.form-card h1 {
    margin-bottom: 24px;
    font-size: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 16px;
}

label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: #2563eb;
}

select {
    width: 100%;
    padding: 12px;
    margin-bottom: 18px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 1em;
}

select:focus {
    outline: none;
    border-color: #3b82f6;
}

.note {
    background: #f9fafb;
    border-left: 4px solid #3b82f6;
    padding: 10px 14px;
    margin: 16px 0;
    font-size: 0.95em;
}

.section table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.95em;
}

.section th, td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
}

.section th {
    background-color: #f3f4f6;
    font-weight: bold;
}

.section ul {
    margin: 10px 0 20px 20px;
}

.section li {
    margin-bottom: 6px;
}

.section {
    margin-bottom: 40px;
}


/* =====================
   BUTTONS
===================== */

.btn {
    display: inline-block;
/*    width: 100%;*/
    padding: 12px, 20px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

.btn:hover {
    background: #1e40af;
}

.btn.submit {
    display: inline-block;
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.btn.submit:hover {
    background: #1e40af;
}

.candle.volume {
	margin-top: 30px;
	margin-left: 10px;
	margin-bottom: 20px;
	margin-right: 10px;
}

/*
.btn {
  padding: 10px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
}

.btn.primary {
  background: #4a90e2;
  color: #fff;
}

.btn.primary:hover {
  background: #357bd8;
}

.btn.secondary {
  background: #e0e0e0;
}

.btn.secondary:hover {
  background: #cfcfcf;
}
*/

/* =====================
   FOOTER
===================== */
.site-footer {
    text-align: center;
    padding: 24px;
    color: #6b7280;
    font-size: 0.9rem;
}

