/* Ostrong Vault Styles */

.ost-vault-container {
      padding: 3rem;
      max-width: 900px;
      margin: 3rem auto;
      text-align: center;
      min-height: 400px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 20px;
}

.ost-vault-screen {
      width: 100%;
}

.ost-vault-screen h2 {
      letter-spacing: 0.2em;
      font-weight: 800;
      margin-bottom: 1.5rem;
      color: #fff;
      text-transform: uppercase;
}

.ost-vault-input-group {
      display: flex;
      gap: 10px;
      max-width: 500px;
      margin: 2rem auto;
}

.ost-vault-input-group input {
      flex: 1;
      background: rgba(0, 0, 0, 0.4) !important;
      border: 1px solid rgba(255, 255, 255, 0.2) !important;
      border-radius: 10px;
      padding: 1.2rem;
      color: #fff !important;
      font-size: 1.1rem;
      letter-spacing: 0.1em;
}

.ost-btn-glow {
      background: #8b5a2b;
      color: #fff;
      border: none;
      border-radius: 10px;
      padding: 0 2rem;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
}

.ost-btn-glow:hover {
      box-shadow: 0 0 20px rgba(139, 90, 43, 0.5);
      background: #a67c52;
}

.ost-error-msg {
      color: #e74c3c;
      margin-top: 1rem;
      font-weight: 600;
      display: none;
}

/* Artifact Grid */
.ost-vault-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
}

.ost-artifact-card {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 1.5rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      display: flex;
      flex-direction: column;
}

.ost-artifact-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      border-color: rgba(139, 90, 43, 0.4);
}

.ost-artifact-thumb {
      width: 100%;
      height: 150px;
      background-size: cover;
      background-position: center;
      border-radius: 10px;
      margin-bottom: 1rem;
      background-color: rgba(0, 0, 0, 0.3);
}

.ost-artifact-card h3 {
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
      color: #fff;
}

.ost-artifact-card p {
      font-size: 0.9rem;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 1.5rem;
      flex-grow: 1;
}

.ost-artifact-download {
      background: rgba(255, 255, 255, 0.1);
      color: #fff;
      text-decoration: none;
      padding: 0.8rem;
      border-radius: 8px;
      font-weight: 700;
      transition: background 0.3s;
      text-align: center;
}

.ost-artifact-download:hover {
      background: #8b5a2b;
}

/* Business Feature 4: E-Ink / High Contrast Mode */
.ost-vault-low-res .ost-glass {
      background: #ffffff !important;
      color: #000000 !important;
      border: 2px solid #000 !important;
}

.ost-vault-low-res .ost-artifact-card {
      background: #fff !important;
      border: 1px solid #000 !important;
      color: #000 !important;
}

.ost-vault-low-res .ost-btn-glow,
.ost-vault-low-res .ost-artifact-download {
      background: #000 !important;
      color: #fff !important;
      box-shadow: none !important;
}

.ost-vault-low-res .ost-artifact-thumb {
      filter: grayscale(100%) contrast(150%);
}

.ost-vault-low-res p,
.ost-vault-low-res h2,
.ost-vault-low-res h3 {
      color: #000 !important;
}

/* Responsive Fixes */
@media (max-width: 600px) {
      .ost-vault-input-group {
            flex-direction: column;
      }

      .ost-vault-container {
            padding: 1.5rem;
      }
}