/*
Theme Name: My React Theme
Theme URI: https://example.com/myreacttheme
Author: Codex
Description: Minimal WordPress theme that renders pages with React.
Version: 0.1.0
License: GPL-2.0-or-later
Text Domain: myreacttheme
*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f6f6f6;
  color: #222;
}

#react-root {
  min-height: 100vh;
}

.myreacttheme-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

.myreacttheme-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.myreacttheme-title {
  font-size: 28px;
  margin: 0;
}

.myreacttheme-status {
  font-size: 14px;
  color: #555;
}

.myreacttheme-card {
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.myreacttheme-error {
  margin: 0 0 12px;
  padding: 10px;
  border-radius: 6px;
  background: #ffecec;
  color: #b30000;
  border: 1px solid #f5c2c7;
}

.myreacttheme-form {
  display: grid;
  gap: 12px;
}

.myreacttheme-form label {
  font-weight: bold;
  display: block;
  margin-bottom: 6px;
}

.myreacttheme-form input[type="text"],
.myreacttheme-form input[type="password"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.myreacttheme-form .remember {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.myreacttheme-btn {
  padding: 10px 14px;
  background: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.myreacttheme-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.myreacttheme-article h2 {
  margin-top: 0;
}
