/* Custom CSS variables */
:root {
  --primary-color: #000000;
  --secondary-color: #1a1a1a;
  --accent-color: #4e73df;
  --success-color: #1cc88a;
  --warning-color: #f6c23e;
  --danger-color: #e74a3b;
  --text-color: #ffffff;
  --bg-color: #000000;
  --border-color: #333333;
  --card-bg: #111111;
  --hover-bg: #222222;
}

/* Global style reset - zero border radius design */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-radius: 0 !important; /* Zero border radius design core */
}

/* Basic font and layout */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Link styles */
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #6c8cff;
}

/* Admin reply link styles */
.admin-reply-link {
  color: #4e73df;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted #4e73df;
  transition: all 0.2s ease;
}

.admin-reply-link:hover {
  color: #2e4fd8;
  border-bottom-style: solid;
}

/* Title styles */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2rem; }    /* 32px */
h2 { font-size: 1.5rem; }  /* 24px */
h3 { font-size: 1.25rem; } /* 20px */

/* Button base styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border-radius: 0 !important; /* Zero border radius */
}

.btn-primary {
  background-color: var(--accent-color);
  color: white;
}

.btn-primary:hover {
  background-color: #3d5fd8;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-color);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--hover-bg);
  border-color: var(--accent-color);
}

/* Card styles */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  transition: all 0.3s ease;
  border-radius: 0 !important; /* Zero border radius */
}

.card:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Input field styles */
.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-color);
  transition: border-color 0.2s ease;
  border-radius: 0 !important; /* Zero border radius */
}

.input:focus {
  outline: none;
  border-color: var(--accent-color);
}

.input::placeholder {
  color: #666;
}

/* Utility classes */
.text-accent { color: var(--accent-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-danger { color: var(--danger-color); }

.bg-card { background-color: var(--card-bg); }
.bg-hover { background-color: var(--hover-bg); }

.border-accent { border-color: var(--accent-color); }

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.125rem; }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

/* Import component styles */
@import './components/buttons.css';
@import './components/cards.css';
@import './components/forms.css';
@import './components/navigation.css';
@import './components/modals.css';

/* Loading animation */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}