
/* =================================
   CARWASH MANAGER
   Main Design System
================================= */

:root {
  --primary: #1769AA;
  --primary-dark: #10243A;
  --primary-light: #EAF3FB;

  --background: #F5F7FA;
  --surface: #FFFFFF;

  --text: #172B3D;
  --text-muted: #78899A;

  --success: #16A36A;
  --danger: #DC4545;
  --warning: #E6A23C;

  --border: #E3E9EF;

  --radius: 14px;
  --shadow: 0 4px 16px rgba(16, 36, 58, 0.06);
}

/* Reset */

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

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

body {
  font-family: Arial, sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  -webkit-tap-highlight-color: transparent;
}

/* Application */

#app {
  width: 100%;
  min-height: 100vh;
}

#app-content {
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--background);
  position: relative;
}

/* Buttons */

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Inputs */

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

/* Arabic support */

[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

[dir="ltr"] {
  direction: ltr;
  text-align: left;
}

/* Responsive layout */

@media (min-width: 601px) {
  #app-content {
    box-shadow: 0 0 30px rgba(16, 36, 58, 0.05);
  }
}


/* =====================================
   WELCOME & LANGUAGE SCREENS
===================================== */

.welcome-screen,
.language-screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 24px;
  background: linear-gradient(
    160deg,
    #10243A 0%,
    #1769AA 100%
  );
}

.welcome-content,
.language-content {
  width: 100%;
  max-width: 400px;
  text-align: center;
  color: #FFFFFF;
}

.app-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.welcome-content h1,
.language-content h1 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.7px;
  margin-bottom: 35px;
}

.welcome-content h2,
.language-content h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}

.welcome-content p,
.language-content p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 35px;
}

/* Primary button */

.primary-button {
  width: 100%;
  min-height: 56px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #1769AA;
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s, opacity 0.2s;
}

.primary-button:active {
  transform: scale(0.98);
  opacity: 0.9;
}

/* Language options */

.language-option {
  display: block;
  width: 100%;
  min-height: 62px;
  padding: 16px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #FFFFFF;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s;
}

.language-option:active {
  background: rgba(255,255,255,0.25);
}

.language-content .primary-button {
  margin-top: 15px;
}

/* Small screens */

@media (max-width: 360px) {
  .welcome-content h1,
  .language-content h1 {
    font-size: 24px;
  }

  .welcome-content h2,
  .language-content h2 {
    font-size: 21px;
  }

  .app-logo {
    width: 85px;
    height: 85px;
    font-size: 40px;
  }
}

