/* === GENERAL STYLES === */

* {
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: #e0e0e0;
  background-color: #0a0a0a;
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}

/* Remove default margins */
p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
}

button {
  cursor: pointer;
  border: none;
}

select {
  cursor: pointer;
}

input, select, button, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* === BUTTONS === */

.button-primary {
  color: #000000;
  background: linear-gradient(135deg, #00d4ff, #00b8d4);
  border-radius: 16px;
  padding: 14px 24px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.25);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 212, 255, 0.35);
  background: linear-gradient(135deg, #00eaff, #00c8e0);
}

.button-primary:active {
  transform: scale(0.97);
}

/* Secondary Button */
.button-secondary {
  color: #e0e0e0;
  background-color: #1f1f1f;
  border: 1px solid #444444;
  border-radius: 16px;
  padding: 14px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.button-secondary:hover {
  background-color: #2a2a2a;
  border-color: #00d4ff;
}

.button-secondary:active {
  background-color: #333333;
}

/* === TEXT UTILITIES === */

.limit-text-to-2-lines {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Primary Link Style */
.link-primary {
  color: #00d4ff;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.link-primary:hover {
  color: #00f0ff;
  text-decoration: underline;
}

/* === FORM ELEMENTS === */

input, select {
  background-color: #1f1f1f;
  color: #e0e0e0;
  border: 1px solid #444444;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

input:focus, 
select:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.15);
}

/* Placeholder styling */
input::placeholder {
  color: #888888;
}

/* === GLOBAL IMPROVEMENTS === */

html {
  scroll-behavior: smooth;
}

/* Subtle scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00d4ff;
}

/* Selection color */
::selection {
  background-color: rgba(0, 212, 255, 0.3);
  color: white;
}
