/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

*:not(dialog) {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    interpolate-size: allow-keywords;
  }
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

p {
  text-wrap: pretty;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

#root,
#__next {
  isolation: isolate;
}

/*
  Custom Styles
*/

:root {
  --bg-color: #f4f4f9;
  --card-bg: #ffffff;
  --text-primary: #333333;
  --text-secondary: #666666;
  --accent-color: #007bff;
  --error-color: #dc3545;
  --success-color: #28a745;
  --border-color: #eeeeee;
  --input-border: #dddddd;
  --input-bg: #ffffff;
  --font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-primary: #e0e0e0;
    --text-secondary: #aaaaaa;
    --accent-color: #4da3ff;
    --border-color: #333333;
    --input-border: #444444;
    --input-bg: #2c2c2c;
  }
}

body {
  background-color: var(--bg-color);
  font-family: var(--font-family);
  color: var(--text-primary);
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 400px;
}

.card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  overflow: hidden;
}

.icon {
  font-size: 48px;
  margin-bottom: 20px;
}

h1 {
  font-size: 24px;
  margin-bottom: 10px;
  margin-top: 0;
}

p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--text-primary);
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

input:focus {
  border-color: var(--accent-color);
  outline: none;
}

button {
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #0056b3;
}

/* Info Display Styles */
.hidden {
  display: none !important;
}

.lang-select {
  text-align: right;
  margin-bottom: 15px;
}

select {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  cursor: pointer;
}

.info-row {
  text-align: left;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.info-value {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
}

.info-value a {
  color: var(--accent-color);
  text-decoration: none;
}

#display-phone,
#display-email,
#display-address {
  direction: ltr;
  unicode-bidi: embed;
}

#display-address {
  white-space: pre-wrap;
}
