/* ============================================================================
 * File: accounts/acc.css
 * Description: CSS styles for the Accounts page of Vina Network.
 * Created by: Vina Network
 * ========================================================================== */

.acc-container {
    min-height: 100vh;
    margin-top: 72px;
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
}

.acc-content {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
    border-radius: 10px; 
    padding: 2rem;
    margin: 2rem;
    max-width: 700px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.acc-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

h1 {
    color: #00d4ff;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Profile */
#account-info {
    margin: 20px auto;
}
#account-info table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}
#account-info th, #account-info td {
    padding: 8px;
    border: 1px solid #ddd;
    text-align: left;
    color: #fff;
}
#account-info th {
    background-color: rgba(255, 255, 255, 0.1);
}

#wallet-info {
    margin: 20px 0;
    color: #fff;
}

/* Copy icon */
.copy-icon {
    cursor: pointer;
    font-size: 20px;
    color: #007bff;
    transition: color 0.3s ease;
    pointer-events: auto;
    user-select: none;
    display: inline-block;
    margin-left: 5px;
}
.copy-icon:hover {
    color: #0056b3;
}
.copy-icon.copied {
    color: #28a745;
}
.copy-tooltip {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 10;
}

/*  Responsive Design */
@media screen and (max-width: 768px) {
    .acc-container {
        min-height: 60vh;
        margin-top: 64px;
    }

    .acc-content {
        max-width: 100%;
        margin: 1rem;
    }
}
