/* =========================================
   Download GitHub — Frontend Button Styles
   ========================================= */

.dgh-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.dgh-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #24292e;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border: 2px solid transparent;
    transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    cursor: pointer;
}

.dgh-button:hover,
.dgh-button:focus {
    background: #2ea44f;
    border-color: #2ea44f;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46,164,79,.4);
    outline: none;
}

.dgh-button:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}

.dgh-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dgh-icon svg {
    width: 16px;
    height: 16px;
}

.dgh-label {
    flex: 1;
}

.dgh-version {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.18);
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    white-space: nowrap;
}

.dgh-filename {
    font-size: 11px;
    color: #888;
    padding-left: 4px;
}

.dgh-error {
    color: #d63638;
    font-size: 13px;
    background: #fcf0f1;
    border-left: 4px solid #d63638;
    padding: 8px 12px;
    border-radius: 0 4px 4px 0;
}
