/* github-download/css/styles.css */
.gh-container {
    max-width: 820px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid var(--header-border);
}

.gh-container h1 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    background: var(--grad-title);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gh-container > p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.gh-container > p a {
    color: #00dbde;
}

.gh-container code {
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    background: var(--code-bg);
    color: var(--code-text);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.9em;
    word-break: break-all;
}

.gh-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.gh-input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem;
    border-radius: 5px;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    color: var(--input-text);
    font-size: 1rem;
}

.gh-input::placeholder {
    color: var(--input-text);
    opacity: 0.6;
}

.gh-input:focus {
    outline: none;
    border-color: #00dbde;
}

.gh-btn {
    padding: 0.8rem 1.5rem;
    background: var(--grad-title);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.gh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gh-btn.ghost {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--input-border);
}

.gh-btn.ghost:hover {
    box-shadow: none;
    background: var(--hover);
}

.gh-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.gh-actions .gh-btn {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
}

.gh-message {
    min-height: 1.4em;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.gh-message.ok {
    color: #2db877;
}

.gh-message.error {
    color: var(--column-remove-btn);
}

.gh-result {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 8px;
    background: var(--card-bg);
    border: 1px solid var(--header-border);
    border-left: 4px solid #00dbde;
}

.gh-result-label {
    font-size: 0.85rem;
    color: var(--footer-text);
    margin-bottom: 0.5rem;
}

.gh-result-url {
    padding: 0.7rem;
    border-radius: 5px;
    background: var(--code-bg);
    color: var(--code-text);
    font-family: Consolas, Monaco, monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-all;
    user-select: all;
}

.gh-result-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.9rem;
    flex-wrap: wrap;
}

.gh-tips {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px dashed var(--header-border);
}

.gh-tips h3 {
    font-size: 1rem;
    margin-bottom: 0.6rem;
}

.gh-tips ul {
    margin: 0 0 0.75rem 1.1rem;
    color: var(--text-color);
    line-height: 1.9;
    word-break: break-all;
}

.gh-tips p {
    font-size: 0.85rem;
    color: var(--footer-text);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .gh-form {
        flex-direction: column;
    }

    .gh-input,
    .gh-form .gh-btn {
        width: 100%;
    }
}
