.container {
    max-width: 400px;
    background: #26262C;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: auto;
    text-align: center;
    margin-top: 50px;
}
.logout-btn{
    margin-top:20px;
    max-width: 200px;
}

.announce-link{
    color:white;
}

.redeem-btn{
    background: #6A0DAD;
    color: white;
    border: none;
    padding: 11px 25px;
    cursor: pointer;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.search-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
input{
    width: 70%;
}
.submit-btn{
    width: 75%;
}
input {
    padding: 10px;
    color: white;
    border-radius: 5px;
    float:left;
    font-size: 16px;
}

input::placeholder {
    color: #bbb;
}
.submit-btn {
    background-color: #6A4C9C;
    color: white;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.submit-btn:hover:not(:disabled) {
    background-color: #6A4C9C;
}

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.terms-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.terms-checkbox a {
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.error, .client-error {
    color: #ff4a4a;
    margin-top: 10px;
}

@media (max-width: 768px) {
    input,.submit-btn{
        width: 100%;
    }
}
/* Search History Styling */
.search-history-section {
    text-align: left;
    margin-top: 40px;
    padding: 20px;
}

.search-history-section h2 {
    margin-top: 0;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.search-history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
}

.search-history-item {
    background: #1d1d23;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-out;
    border: 1px solid rgba(155, 89, 182, 0.2);
}

.search-history-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(155, 89, 182, 0.5);
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-email {
    color: #9b59b6;
    font-weight: 600;
    font-size: 17px;
}

.history-date {
    color: #9b9ba7;
    font-size: 13px;
}

.results-badge {
    background: rgba(155, 89, 182, 0.2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.results-badge svg {
    width: 16px;
    height: 16px;
    fill: #9b59b6;
}

.history-note{
    color: #9b9ba7;
    text-align: center;
    font-style: italic;
}

.empty-history{
    color: #9b9ba7;
    text-align: center;
    padding: 20px;
    font-style: italic;
    background: rgba(155, 89, 182, 0.05);
    border-radius: 8px;
}

.loading-message {
    text-align: center;
    color: #9b9ba7;
    padding: 20px;
}

.clear-history {
    background: rgba(255, 90, 90, 0.15);
    color: rgb(255, 140, 140);
    border: 1px solid rgba(255, 90, 90, 0.3);
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
}

.clear-history:hover {
    background: rgba(255, 90, 90, 0.25);
}
.api-key-input {
    background: #232328;
    color: #fff;
    border: 1px solid #6A0DAD;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 15px;
    letter-spacing: 1px;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    font-weight: 500;

} 

.blurtext{
    color: transparent;
    text-shadow: 0 0 12px white;
    transition: 0.5s;
}

.blurtext:hover {
    text-shadow: 0px 0px 0px transparent;
    color: white;
    transition: 0.5s;
}

.copy-btn {
    background: #6A0DAD;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #7d29d2;
}
.apikey-missing{
    padding-top:10px;
}