/* Shared UI styles to match index.html look */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.container {
  max-width: 950px;
  margin: 30px auto;
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

h1 {
  text-align: center;
  margin: 0 0 20px 0;
  font-size: 24px;
}

label {
  font-weight: 600;
  display: block;
  margin-top: 15px;
}

input[type="text"],
input[type="number"],
input[type="password"],
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.85);
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary, #007bff);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  border-radius: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.row > * { flex: 1 1 auto; }

/* Theme-specific tweaks to mimic index style */
body.aziu_soft .container,
body.aziu_soft .card {
  background: var(--greyLight-1);
  box-shadow: 0.8rem 0.8rem 1.4rem var(--greyLight-2), -0.2rem -0.2rem 1.8rem var(--white);
  border: none;
}

body.aziu_soft input[type="text"],
body.aziu_soft textarea,
body.aziu_soft input[type="password"],
body.aziu_soft input[type="number"] {
  background: var(--greyLight-1);
  border: none;
  box-shadow: inset 0.2rem 0.2rem 0.5rem var(--greyLight-2), inset -0.2rem -0.2rem 0.5rem var(--white);
}

body.dark .card {
  background: rgba(30, 30, 30, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark input[type="text"],
body.dark textarea,
body.dark input[type="password"],
body.dark input[type="number"] {
  background: rgba(20, 20, 20, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
}

body.custom .card {
  background: var(--custom-bg, #fff);
}

