@charset "UTF-8";
/* --- ZTI PROFILE DASHBOARD STYLES --- */

/* --- Layout Grid --- */
.profile-dashboard-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 20px;
    padding-bottom: 20px;
    align-items: start;
}

@media (max-width: 900px) {
    .profile-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Profile Header Strip --- */
.profile-header-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #557777;
    margin-bottom: 20px;
    padding-bottom: 10px;
    background: rgba(0, 20, 20, 0.5);
    padding: 10px;
}

.quick-stats {
    display: flex;
    gap: 15px;
}

.stat-pill {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid #008888;
    padding: 4px 10px;
    border-radius: 4px; /* Slight rounding for modern look */
    font-size: 1rem;
    color: #aaffee;
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-trophy { color: #ffd700; text-shadow: 0 0 5px #ffd700; }
.icon-star { color: #00ffff; font-weight: bold; }

/* --- Terminal Panels --- */
.terminal-panel {
    border: 1px solid #557777;
    background: rgba(5, 10, 10, 0.85);
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.panel-header {
    background: rgba(0, 40, 40, 0.8);
    color: #00ffff;
    padding: 8px 12px;
    border-bottom: 1px dashed #557777;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-body {
    padding: 15px;
}

.panel-body.centered {
    text-align: center;
}

/* --- Sidebar: Identity --- */
.profile-pic-frame {
    width: 150px;
    height: 150px;
    border: 2px solid #00ffff;
    margin: 0 auto 15px auto;
    position: relative;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.profile-pic-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fallback button inside PFP frame */
.profile-pic-frame .action-button {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    max-width: none;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #00ffff;
    text-align: center;
}

.display-name-glitch {
    color: #ffffff;
    text-shadow: 2px 0 #ff0000, -2px 0 #00ffff;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.identity-details {
    text-align: left;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border: 1px solid #334444;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border-bottom: 1px dotted #334444;
    padding-bottom: 2px;
}
.detail-row:last-child { border-bottom: none; }

.detail-row .label { color: #557777; font-weight: bold; }
.detail-row .value { color: #aaffee; text-shadow: 0 0 2px #00ffff; }

/* --- Sidebar: Featured Achievement --- */
.featured-selector-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-selector-current {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #444;
    padding: 10px;
    background: rgba(0,0,0,0.4);
}

.featured-selector-buttons {
    display: flex;
    gap: 10px;
}

.action-btn-small {
    background: transparent;
    border: 1px solid #008888;
    color: #00ffff;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    flex: 1;
    font-size: 1rem;
}
.action-btn-small:hover { background: rgba(0, 255, 255, 0.1); box-shadow: 0 0 5px #00ffff; }

/* --- Main: Asset Grid --- */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 10px;
}

.asset-card {
    border: 1px solid #445555;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.2s;
}

.asset-card:hover {
    border-color: #00ffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.asset-vis {
    height: 140px;
    background: #0d0d0d; /* Dark background for images */
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid #333;
    padding: 10px;
    overflow: hidden;
}

.asset-img-contain {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
}

/* Specific handling for images */
#coupon-image { max-height: 120px; }
#pin-image { max-height: 100px; }

.id-card-icon {
    font-size: 3rem;
    color: #00ffff;
    margin-bottom: 5px;
}

.id-card-label {
    text-align: center;
    color: #aaffee;
    font-size: 0.9em;
}

.asset-controls {
    padding: 10px;
    background: rgba(0, 20, 20, 0.8);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 60px;
}

.asset-title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: center;
    text-shadow: 0 0 3px #00ffff;
}

.asset-tools {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.tool-btn {
    color: #88aaaa;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid transparent;
    padding: 2px 4px;
}
.tool-btn:hover {
    color: #00ffff;
    border-color: #00ffff;
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 5px #00ffff;
}

/* --- Main: Achievements List --- */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 10px;
    padding: 5px;
}

.header-btn {
    background: transparent;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
}
.header-btn:hover { color: #fff; text-decoration: underline; }

/* Button inside achievement selector */
.achievement-selection-grid { 
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 10px;
    padding: 10px;
    background: #000;
    border: 1px solid #333;
}

/* Old utility classes kept for compatibility */
.nav-logout { color: #ff9999; }
.pfp-uploader input[type="file"] { display: block; margin: 8px auto; max-width: 100%; color: #aaffee; }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .profile-dashboard-grid { gap: 10px; }
    .panel-body { padding: 10px; }
    .profile-pic-frame { width: 120px; height: 120px; }
}