/* Print270 Account Pages - Perfect for Mobile & Web */

/* Account Templates Base */
.template-customers-login,
.template-customers-register,
.template-customers-account,
.template-customers-reset-password,
.template-customers-recover {
  background: linear-gradient(135deg, #F8F9FA 0%, #E9ECEF 100%);
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Account Main Layout */
.account-main {
  padding: 2rem 0;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}

/* Account Cards */
.account-card,
.signup-card,
.help-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(10, 23, 32, 0.08), 0 8px 16px rgba(10, 23, 32, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: relative;
}

/* Account Header */
.account-header {
  text-align: center;
  margin-bottom: 2rem;
}

.account-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #0A1720;
  margin-bottom: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.account-subtitle {
  font-size: 1.125rem;
  color: #6B7280;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

/* Form Styles */
.account-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: #0A1720;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}

.form-input {
  padding: 1rem 1.25rem;
  border: 2px solid #E5E7EB;
  border-radius: 12px;
  font-size: 1rem;
  background: #FFFFFF;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #FFB800;
  box-shadow: 0 0 0 4px rgba(255, 184, 0, 0.12);
}

.form-input::placeholder {
  color: #9CA3AF;
}

.form-hint {
  font-size: 0.875rem;
  color: #6B7280;
  margin-top: 0.25rem;
}

/* Password Input */
.password-input-wrapper {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #6B7280;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.25rem;
  border-radius: 6px;
}

.password-toggle:hover {
  color: #FFB800;
  background: rgba(255, 184, 0, 0.1);
}

/* Checkbox Styles */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.5;
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #E5E7EB;
  border-radius: 4px;
  background: white;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
  background: #FFB800;
  border-color: #FFB800;
}

.checkbox-input:checked + .checkbox-custom::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Form Actions */
.form-actions {
  margin-top: 1rem;
}

.form-footer {
  margin-top: 1.5rem;
  text-align: center;
}

.forgot-password-link {
  color: #FFB800;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.forgot-password-link:hover {
  color: #FFA000;
  text-decoration: underline;
}

/* Form Errors and Success */
.form-errors {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #DC2626;
  font-size: 0.875rem;
}

.form-success {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  color: #166534;
}

.success-icon {
  width: 48px;
  height: 48px;
  background: #22C55E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.success-icon svg {
  color: white;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.btn--primary {
  background: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 184, 0, 0.4);
}

.btn--secondary {
  background: #6B7280;
  color: white;
}

.btn--secondary:hover {
  background: #4B5563;
  transform: translateY(-1px);
}

.btn--outline {
  background: white;
  border: 2px solid #FFB800;
  color: #FFB800;
}

.btn--outline:hover {
  background: #FFB800;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.btn--social {
  background: white;
  border: 2px solid #E5E7EB;
  color: #374151;
  padding: 0.875rem 1.25rem;
}

.btn--social:hover {
  border-color: #FFB800;
  background: rgba(255, 184, 0, 0.05);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn--full-width {
  width: 100%;
}

.btn--large {
  padding: 0.875rem 1.375rem;
  font-size: 1.0625rem;
}

/* Account Divider */
.account-divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}

.account-divider::before {
  display: none;
}

.divider-text {
  background: #FFFFFF;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  color: #6B7280;
  font-weight: 500;
}

/* Social Login */
.social-login {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Sidebar Cards */
.signup-card,
.help-card {
  padding: 2rem;
}

.signup-card h2,
.help-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A1720;
  margin-bottom: 0.75rem;
}

.signup-card p,
.help-card p {
  color: #6B7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(184, 242, 230, 0.1);
  border-radius: 12px;
  font-size: 0.875rem;
  color: #0A1720;
  font-weight: 500;
}

.benefit-icon {
  color: #00C2A8;
  flex-shrink: 0;
}

/* Help Contact */
.help-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.help-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(184, 242, 230, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #0A1720;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.help-link:hover {
  background: rgba(255, 184, 0, 0.1);
  color: #FFB800;
}

.help-link svg {
  color: #00C2A8;
  flex-shrink: 0;
}

.help-link:hover svg {
  color: #FFB800;
}

/* Customer Details */
.customer-details {
  margin-bottom: 2rem;
}

.customer-details h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A1720;
  margin-bottom: 1rem;
}

.detail-group {
  background: #F8F9FA;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.detail-group p {
  margin-bottom: 0.5rem;
  color: #374151;
}

.account-actions {
  display: flex;
  gap: 1rem;
}

/* Order History */
.order-history {
  margin-bottom: 2rem;
}

.order-history h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A1720;
  margin-bottom: 1rem;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  background: #F8F9FA;
  border-radius: 12px;
  padding: 1.5rem;
}

.order-number {
  font-weight: 600;
  color: #0A1720;
  margin-bottom: 0.25rem;
}

.order-date {
  color: #6B7280;
  font-size: 0.875rem;
  margin: 0;
}

.status-badge {
  padding: 0.375rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-pending {
  background: #FEF3C7;
  color: #92400E;
}

.status-fulfilled {
  background: #D1FAE5;
  color: #065F46;
}

.status-shipped {
  background: #DBEAFE;
  color: #1E40AF;
}

.order-total {
  font-weight: 700;
  color: #0A1720;
}

/* No Orders */
.no-orders {
  text-align: center;
  padding: 3rem 2rem;
}

.no-orders-icon {
  width: 80px;
  height: 80px;
  background: #F3F4F6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.no-orders-icon svg {
  color: #9CA3AF;
}

.no-orders h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0A1720;
  margin-bottom: 0.5rem;
}

.no-orders p {
  color: #6B7280;
  margin-bottom: 2rem;
}

/* Quick Actions */
.quick-actions h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0A1720;
  margin-bottom: 1rem;
}

.action-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.action-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: rgba(184, 242, 230, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: #0A1720;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.action-link:hover {
  background: rgba(255, 184, 0, 0.1);
  color: #FFB800;
}

.action-link svg {
  color: #00C2A8;
  flex-shrink: 0;
}

.action-link:hover svg {
  color: #FFB800;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .account-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
    padding: 0 1rem;
  }
  
  .account-main {
    padding: 1.5rem 0;
  }
  
  .account-card {
    order: 1;
  }
  
  .signup-card,
  .help-card {
    order: 2;
  }
}

@media (max-width: 768px) {
  .account-main {
    padding: 1rem 0;
  }
  
  .account-container {
    padding: 0 0.75rem;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .account-card,
  .signup-card,
  .help-card {
    padding: 2rem;
    border-radius: 16px;
    width: 100%;
  }
  
  .account-card {
    order: 1;
  }
  
  .signup-card,
  .help-card {
    order: 2;
    margin-top: 1rem;
  }
  
  .account-title {
    font-size: 1.875rem;
    text-align: center;
  }
  
  .account-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  
  .account-form {
    gap: 1.25rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-input {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.9375rem;
    min-height: 48px;
  }
  
  .btn--large {
    padding: 1rem 1.25rem;
  }
  
  .benefits-list {
    gap: 0.5rem;
  }
  
  .benefit-item {
    padding: 0.625rem;
    font-size: 0.875rem;
  }
  
  .help-contact {
    gap: 0.5rem;
  }
  
  .help-link {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .order-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }
  
  .account-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .account-container {
    padding: 0 0.5rem;
    gap: 1rem;
  }
  
  .account-card,
  .signup-card,
  .help-card {
    padding: 1.5rem;
    width: 100%;
  }
  
  .account-card {
    order: 1;
  }
  
  .signup-card,
  .help-card {
    order: 2;
    margin-top: 1rem;
  }
  
  .account-title {
    font-size: 1.625rem;
    line-height: 1.1;
    text-align: center;
  }
  
  .account-subtitle {
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .account-form {
    gap: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .form-input {
    padding: 0.75rem;
    min-height: 48px;
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    min-height: 48px;
  }
  
  .btn--large {
    padding: 0.875rem 1rem;
  }
}