.tgp-get-key-button {
    background-color: #28a745;
    color: #fff;
    transition: all .3s ease;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

.tgp-get-key-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 20px;
    margin-left: 10px;
}

.loading-spinner div {
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background-color: #fff;
    border-radius: 50%;
    animation: tgpLoading 1.4s infinite ease-in-out both;
}

.loading-spinner .dot1 {
    animation-delay: -.32s;
}

.loading-spinner .dot2 {
    animation-delay: -.16s;
}

@keyframes tgpLoading {
    0%, 80%, 100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

#result {
    margin-top: 15px;
    font-size: 14px;
    min-height: 20px;
}

#available_time {
    display: block;
    margin-top: 10px;
    font-size: 13px;
}

#open_key_button {
    margin-top: 8px;
    background: #0d6efd;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.result-loading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    font-size: 14px;
}

.result-loading .dots {
    display: inline-flex;
}

.result-loading .dots div {
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background-color: #007bff;
    border-radius: 50%;
    display: inline-block;
    animation: tgpLoading 1.4s infinite ease-in-out both;
}

.result-error {
    color: red;
}

.result-success {
    color: green;
}