
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

html, body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6;
    color: #374151;
    overflow-x: hidden;
}

#app-container {
    width: 100%;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2rem;
    text-align: center;
}

textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    resize: vertical;
    font-family: monospace;
    font-size: 0.9rem;
    outline: none;
    min-height: 180px;
    box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.05);
}

textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.controls select,
.controls button {
    padding: 0.75rem 1.5rem;
    border: 1px solid #a7a7a7;
    border-radius: 0.5rem;
    background-color: #ffffff;
    color: #374151;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-size: 0.9rem;
    font-weight: 500;
}

.controls select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25em;
    padding-right: 2.5rem;
}

.controls select:hover,
.controls button:hover {
    background-color: #e5e7eb;
    border-color: #9ca3af;
}

.controls select:focus,
.controls button:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.controls button {
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
}

.controls button:hover {
    background-color: #2563eb;
}

.controls label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #4b5563;
    font-size: 0.9rem;
}

.controls input[type="checkbox"] {
    margin-right: 0.6rem;
    height: 1.1rem;
    width: 1.1rem;
    color: #3b82f6;
    border-radius: 0.25rem;
    border: 1px solid #9ca3af;
    outline: none;
    transition: all 0.15s ease-in-out;
}

.controls input[type="checkbox"]:checked {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.controls input[type="checkbox"]:focus {
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.3);
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    margin-left: 0.25rem;
}

.tooltip .tooltiptext {
    visibility: hidden;
    position: absolute;
    z-index: 10;
    width: 14rem;
    background-color: #4b5563;
    color: #ffffff;
    text-align: center;
    font-size: 0.8rem;
    border-radius: 0.375rem;
    padding: 0.6rem 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;

    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    #app-container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    .controls {
        flex-direction: column;
        align-items: stretch;
    }

    .controls select,
    .controls button {
        width: 100%;
    }
}
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #f3f4f6;
  color: #555;
  text-align: center;
  padding: 1rem 0;
  font-size: 0.9rem;
  box-shadow: 0 -1px 4px rgba(0,0,0,0.05);
  overflow-x: hidden;
}

.shine-text {
  position: relative;
  display: inline-block;
  background: linear-gradient(120deg, #6db8ff 0%, #94c6ff 50%, #3146ff 100%);
  background-size: 300% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: shine 3s linear infinite;
  text-shadow: 0 0 3px rgba(150, 206, 255, 0.6);
}

@keyframes shine {
  0% {
    background-position: 0% 0;
  }
  50% {
    background-position: 100% 0;
  }
  100% {
    background-position: 0% 0;
  }
}
.install-card {
  max-width: 380px;         
  margin: 0 auto 5rem auto; 
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background-color: #fff;
  box-shadow: 0 1px 4px rgb(0 0 0 / 0.05);
  transition: box-shadow 0.2s ease-in-out;
  padding: 1rem 1.25rem;    
}

.install-card:hover {
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
}

.install-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0;          
}

.install-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vscode-icon {
  width: 36px;            
  height: 36px;
  flex-shrink: 0;
}

.install-text h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: #1f2937;
}

@media (max-width: 480px) {
  .install-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .vscode-icon {
    width: 30px;
    height: 30px;
  }
}
