body { 
    font-family: Arial, sans-serif; 
    text-align: center; 
    margin: 0;
    padding: 0;
    height: 100vh;
}

#imgURL {
    max-width: 80vw;
    max-height: 80vh;
    width: 80vw;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

#cardData { margin-top: 20px; }

.close-button {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

.close-button .btn {
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    z-index: 9999;
}

.close-button .btn:hover {
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

.card:hover {
    transform: translateY(-5px);
}

.btn:not(.close-button .btn) {
    border-radius: 10px;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:not(.close-button .btn):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-lg {
    font-size: 1.1rem;
}

/* カスタムカラー */
.btn-success {
    background-color: #2ecc71;
    border-color: #2ecc71;
}

.btn-success:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}

.btn-warning {
    background-color: #f1c40f;
    border-color: #f1c40f;
    color: #2c3e50;
}

.btn-warning:hover {
    background-color: #f39c12;
    border-color: #f39c12;
    color: #2c3e50;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NFT表示用スタイル */
.image-container {
    width: 100%;
    max-width: 100%;
    text-align: center;
    overflow: hidden;
}

.nft-image {
    max-width: 100%;
    max-height: 60vh; /* Giới hạn chiều cao tối đa là 60% chiều cao của viewport */
    object-fit: contain;
}

/* Lớp hiển thị lỗi */
.error-text {
    color: red;
    font-weight: bold;
    font-size: 24px;
}

/* Lớp hiển thị thành công */
.success-text {
    color: green;
    font-weight: bold;
    font-size: 24px;
}

/* Bảng hiển thị dữ liệu tài khoản */
.account-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.account-table th, 
.account-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.account-table th {
    background-color: #f2f2f2;
}

.account-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.account-list {
    margin-bottom: 20px;
}

.status-container, .api-message {
    text-align: center;
    margin: 20px 0;
    display: block;
} 