/* Airrosti Landing Pages CSS */

:root {
  --foreground: #ffffff;
  --background: #f5f7fa;
  --text: #333333;
  --heading: #1a1a1a;
  --accent-text: #00a3e0;
  --brand-text: #00a3e0;
  --white: #ffffff;
  --subtle: #e0e0e0;
  --gutter: 24px;
  --gap: 16px;
  --margin: 16px;
  --control: 48px;
  --radius: 8px;
  --small: 14px;
}

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

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--background);
  line-height: 1.5;
}

h1, h2, h3 {
  color: var(--heading);
  margin-bottom: 16px;
}

h1 {
  font-size: 28px;
  font-weight: 700;
}

p {
  margin-bottom: 12px;
}

strong {
  font-weight: 600;
}

/* Layout */
.arr-portal {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.arr-portal-public {
  background: var(--background);
}

.arr-page {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.arr-main {
  display: flex;
  flex-direction: column;
}

.arr-frame {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.arr-body {
  flex: 1;
  padding: var(--gutter) 0;
}

/* Logo */
.arr-logo {
  padding: var(--gutter) 0;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 200px;
  height: 48px;
  fill: var(--brand-text);
}

/* Auth Components */
.arr-auth {
  max-width: 420px;
  margin: 0 auto;
}

.arr-auth > * {
  margin: var(--gutter) 0;
}

.arr-auth-panel {
  background: var(--foreground);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.arr-auth-downloads {
  display: flex;
  padding: var(--gap);
  justify-content: center;
  gap: var(--gap);
}

.arr-auth-download {
  display: block;
  transition: transform 0.2s ease;
}

.arr-auth-download:hover {
  transform: scale(1.05);
}

.arr-auth-download img {
  height: 48px;
  width: auto;
}

.arr-auth-actions {
  margin-top: var(--gutter);
}

.arr-auth-actions a {
  display: block;
  text-align: center;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
  padding: 12px;
}

.arr-auth-actions a:hover {
  text-decoration: underline;
}

/* Padding utilities */
.arr-pad {
  padding: var(--gutter);
}

.arr-pad-x {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  text-align: center;
}

.arr-pad-x img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Text utilities */
.center {
  text-align: center;
}

.arr-editor {
  line-height: 1.6;
}

.arr-editor h1 {
  margin-bottom: 16px;
}

.arr-editor p {
  margin-bottom: 16px;
}

/* Controls and Forms */
.arr-control {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.arr-control-btn {
  background: var(--brand-text);
  color: var(--white);
  border: none;
}

.arr-control-btn:hover {
  opacity: 0.9;
}

.arr-control-full {
  width: 100%;
  text-align: center;
}

.bg-brand-text {
  background: var(--brand-text);
}

.color-white {
  color: var(--white);
}

/* Flashes */
.flashes > * {
  background: var(--accent-text);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: var(--gutter);
}

.flash-alert,
.flash-error {
  background: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
  .arr-frame {
    padding: 0 16px;
  }
  
  .arr-auth {
    max-width: 100%;
  }
  
  h1 {
    font-size: 24px;
  }
  
  .logo-svg {
    width: 160px;
    height: 38px;
  }
}

@media (max-width: 480px) {
  .arr-auth-downloads {
    flex-direction: column;
    align-items: center;
  }
  
  .arr-auth-download img {
    height: 44px;
  }
}
