/* minimal styles */
.widget {
    border: 1px solid #ccc;
    margin: 10px;
    width: 320px;
    background: #fff;
    position: absolute;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    border-radius: 6px;
    overflow: hidden;
}
.widget.fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 9999;
    background: rgba(255,255,255,0.98);
}
.widget-header {
    background: #222;
    color: #fff;
    padding: 8px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
}
.widget-header .widget-controls button {
    background: transparent;
    color: #fff;
    border: 0;
    margin-left: 6px;
    cursor: pointer;
}
.widget-body {
    padding: 10px;
    max-height: 360px;
    overflow-y: auto;
    background: #fafafa;
}
#chat-messages { max-height: 260px; overflow-y: auto; }

/* Profile Box Styling */
.starlight-profile-box {
    background: rgba(128, 0, 0, 0.8); /* maroon translucent */
    color: #fff;
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
    text-align: center;
    backdrop-filter: blur(6px);
}

.starlight-profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.starlight-avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    border: 3px solid #fff;
}

.starlight-profile-details p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.starlight-profile-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.starlight-btn {
    background: #fff;
    color: maroon;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

.starlight-btn:hover {
    background: #ffdddd;
    color: #600000;
}

/* Modal styling */
.starlight-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
}

.starlight-modal-content {
    background: rgba(128,0,0,0.95);
    color: #fff;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    text-align: left;
    position: relative;
}

.starlight-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

.starlight-modal input {
    width: 100%;
    margin: 0.5rem 0 1rem;
    padding: 0.5rem;
    border-radius: 6px;
    border: none;
}
