* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    background: white;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

h1 {
    color: #000;
    margin-bottom: 10px;
    font-size: 28px;
}

.subtitle {
    color: #666;
    margin-bottom: 30px;
    font-size: 14px;
}

.info-card {
    background: #f5f5f5;
    border: 1px solid #000;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-label {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 10px;
}

.info-value {
    color: #333;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

.token-field {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.token-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #000;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.token-input:hover {
    background: #f5f5f5;
}

.token-input:focus {
    outline: none;
    background: white;
}

.copy-btn {
    padding: 6px 12px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #333;
}

.copy-btn.copied {
    background: #666;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid #000;
}

.status.active {
    background: #000;
    color: #fff;
}

.status.inactive {
    background: #fff;
    color: #000;
}

.btn {
    width: 100%;
    padding: 16px;
    border: 2px solid #000;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.btn-primary {
    background: #000;
    color: white;
}

.btn-primary:hover {
    background: #333;
}

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

.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #f5f5f5;
}

#result {
    margin-top: 20px;
    padding: 20px;
    border-radius: 4px;
    display: none;
    border: 1px solid #000;
}

#result.success {
    background: #f5f5f5;
    color: #000;
}

#result.error {
    background: #000;
    color: #fff;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
