/* Clean Style.css - Essential styles only, no header conflicts */

/* CSS Variables */
:root {
  --primary-blue: #118fd2;
  --primary-pink: #ff7eca;
  --secondary-blue: #8fdbfa;
  --background-light: #f7f9fc;
  --text-dark: #333333;
  --border-light: #dcdfe3;
  --font-family: Arial, sans-serif;
  --white: #ffffff;
  --primary-color: #118fd2;
  --content-max-width: calc(100vw - 300px); /* 150px margin each side for generous spacing */
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Styles */
body {
  background: linear-gradient(135deg, #8fdbfa, #118fd2);
  font-family: Arial, sans-serif;
  color: var(--text-dark);
  min-height: 100vh;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

/* Account Container */
.account-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main Content - 150px MARGINS EACH SIDE */
.main-content {
  flex: 1;
  padding: 2rem;
  max-width: calc(100vw - 300px); /* 150px margin each side */
  margin: 0 auto;
  width: 100%;
}

/* Remove responsive adjustments - use consistent 40px margins */

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-light);
}

.card-header {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.card-header h2 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card-header p {
  color: #666;
  font-size: 0.95rem;
  margin: 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

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

.btn-primary:hover {
  background: #0f7bb8;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-danger {
  background: #e74c3c;
  color: white;
}

.btn-danger:hover {
  background: #c0392b;
}

.btn-success {
  background: #27ae60;
  color: white;
}

.btn-success:hover {
  background: #229954;
}

/* Form Elements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(17, 143, 210, 0.1);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h1 {
  color: var(--primary-blue);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Feature Lists */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.5rem 0;
  color: #333;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li:before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Pricing */
.price-display {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 1rem 0;
}

.price-period {
  font-size: 1rem;
  color: #666;
  font-weight: normal;
}

/* Status Indicators */
.status-active {
  color: #27ae60;
  font-weight: 600;
}

.status-inactive {
  color: #e74c3c;
  font-weight: 600;
}

.status-pending {
  color: #f39c12;
  font-weight: 600;
}

/* Dashboard Elements */
.dashboard-container {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--border-light);
  border-radius: 22px;
  padding: 2.5rem 2rem;
  max-width: 336px;
  width: 336px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  margin: calc(2.49rem - 30px) 0 calc(2rem - 50px) 2.5rem;
  position: static;
  left: auto;
  top: auto;
  max-height: calc(90vh - 25px);
}

.dashboard-banner {
  width: 100%;
  max-width: calc(100vw - 80px); /* 40px margin each side */
  margin: 0 auto calc(2.5rem - 30px) auto;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 1.5rem 0 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-banner h1 {
  color: #1563b2;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  letter-spacing: -1px;
}

/* Content Sections */
.section-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section.about {
  background: linear-gradient(135deg, #118fd2, #0f7bb8);
  color: white;
}

.section.about h2,
.section.about p {
  color: white;
}

.section.testimonials-section {
  background: rgba(255,255,255,0.95);
}

/* Footer Styles (non-conflicting) - REMOVED CONFLICTING RULES */
/* Footer content width controlled by footer.css only */

/* Responsive Design - consistent 40px margins */
@media (max-width: 768px) {
  .dashboard-container {
    max-width: calc(100vw - 80px); /* Keep 40px margins */
    width: calc(100vw - 80px);
    margin: 20px auto;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .section-header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .dashboard-container {
    margin: 10px;
    max-width: calc(100vw - 80px); /* Keep 40px margins */
    width: calc(100vw - 80px);
    padding: 1.5rem 1rem;
  }
  
  .section-header h1 {
    font-size: 1.75rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.hidden { display: none !important; }
.visible { display: block !important; }