/**
 * WolfeWare Global Styles
 * 
 * This file contains global styles for the WolfeWare website.
 * It complements component-specific styles found in the components directory.
 */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f7f7f7;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #222;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #f46e00;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #d25c00;
  text-decoration: underline;
}

/* Layout */
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .content-area {
    flex-direction: row;
  }
}

main {
  flex: 1;
  padding: 20px;
}

/* Lists */
ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

th, td {
  padding: 0.75rem;
  border: 1px solid #ddd;
  text-align: left;
}

th {
  background-color: #f5f5f5;
  font-weight: bold;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.hidden {
  display: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Colors */
.primary-color {
  color: #f46e00;
}

.secondary-color {
  color: #6c757d;
}

.success-color {
  color: #2e7d32;
}

.error-color {
  color: #c62828;
}

.warning-color {
  color: #ff8f00;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
  text-align: center;
}

footer p {
  margin-bottom: 0;
}

/* Stripe Elements Custom Styling */
.card-element-container {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: white;
  transition: border-color 0.3s ease;
  height: 40px;
}

.card-element-container.StripeElement--focus {
  border-color: #f46e00;
  box-shadow: 0 0 0 2px rgba(244, 110, 0, 0.2);
}

.card-element-container.StripeElement--invalid {
  border-color: #c62828;
}

/* Card input styling for Authorize.Net */
.card-input-container {
  position: relative;
}

.card-type-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
