.chat-iframe-body {
    margin: 0; padding: 0;
    background: transparent;
}

.chat-wrapper {
    display: flex; flex-direction: column;
    height: 100vh; background: #fff;
    border: 1px solid #e0e0e0;
}

.chat-header {
    background: #284b59; color: #fff;
    padding: 10px 15px; display: flex; align-items: center;
}

.avatar {
    width: 35px; height: 35px; background: #fff; color: #284b59;
    border-radius: 50%; display: flex; justify-content: center;
    align-items: center; font-weight: bold; margin-right: 10px;
}

.admin-avatar { background: #ffd700; color: #000; }

.welcome-user { font-size: 14px; font-weight: 600; margin: 0; }
.welcome-text { font-size: 11px; opacity: 0.8; margin: 0; }

.chatbox {
    flex: 1; overflow-y: auto; padding: 15px;
    background: #f8f9fa; display: flex; flex-direction: column;
}

.msg { display: flex; margin-bottom: 12px; width: 100%; }
.bubble {
    max-width: 85%; padding: 8px 12px; border-radius: 12px;
    font-size: 13px; position: relative; box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.username { font-weight: 700; color: #284b59; font-size: 11px; display: block; margin-bottom: 4px; }
.manager-label {
    background: #284b59; color: white; padding: 2px 5px;
    border-radius: 4px; font-size: 9px; margin-left: 5px;
}

.msg.self { justify-content: flex-end; }
.msg.self .bubble { background: #e1f5fe; border-bottom-right-radius: 2px; }

.msg.other { justify-content: flex-start; }
.msg.other .bubble { background: #fff; border: 1px solid #efefef; border-bottom-left-radius: 2px; }

.msg.admin-msg { justify-content: center; width: 100%; }
.msg.admin-msg .bubble { background: #e8fff3; border: 1px solid #fbc02d; text-align: center; max-width: 90%; }

.delete-msg {
    float: right; color: #ff4757; cursor: pointer;
    font-size: 18px; line-height: 1; margin-left: 8px;
}

.input-area {
    display: flex; padding: 10px; background: #fff; border-top: 1px solid #eee;
}

.input-message {
    flex: 1; border: 1px solid #ddd; padding: 10px 15px;
    border-radius: 20px; outline: none; font-size: 14px;
}

.btn-send {
    background: #284b59; color: white; border: none;
    width: 38px; height: 38px; border-radius: 50%;
    margin-left: 8px; cursor: pointer; transition: 0.2s;
}

.btn-send:hover { background: #1e3742; }

.login-container {
    padding: 30px; text-align: center; height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
}