/* Discord Grundfarben */
:root,
.cpd-theme-dark.cpd-theme-dark,
[class*=cpd-theme-] {
    --cpd-color-theme-bg:              #1e1f22 !important;
    --cpd-color-gray-300:              #2b2d31 !important;
    --cpd-color-gray-400:              #313338 !important;
    --cpd-color-gray-500:              #383a40 !important;
    --cpd-color-gray-600:              #404249 !important;
    --cpd-color-bg-canvas-default:     #313338 !important;
    --cpd-color-bg-subtle-primary:     #2b2d31 !important;
    --cpd-color-bg-subtle-secondary:   #1e1f22 !important;
}

/* Linke Sidebar heller */
.mx_LeftPanel,
.mx_LeftPanel_wrapper,
.mx_RoomListPanel {
    background-color: #2b2d31 !important;
}

/* Space Panel (Server Icons) */
.mx_SpacePanel,
.mx_SpacePanel_innerWrapper {
    background-color: #1e1f22 !important;
}

/* Space Panel gleiche Farbe wie Sidebar */
.mx_SpacePanel,
.mx_SpacePanel_innerWrapper {
    background-color: #2b2d31 !important;
}

/* Subtile Trennlinien wie Discord */
.mx_SpacePanel {
    border-right: 1px solid #3f4147 !important;
}

.mx_RoomListPanel,
.mx_LeftPanel {
    border-right: 1px solid #3f4147 !important;
}

.mx_RoomHeader {
    border-bottom: 1px solid #3f4147 !important;
}

/* Discord Schriftart */
body, input, button, textarea {
    font-family: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

/* Eingabefeld heller */
.mx_MessageComposer {
    background-color: #383a40 !important;
    border-radius: 8px !important;
}

.mx_MessageComposer_wrapper {
    background-color: #383a40 !important;
}

/* Inter Schriftart (Discord-ähnlich) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body, input, button, textarea, * {
    font-family: "Inter", "Noto Sans", "Helvetica Neue", Arial, sans-serif !important;
}

/* gg sans Font von Discord */
@font-face {
    font-family: "gg sans";
    src: url("fonts/ggsans.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
}

body, input, button, textarea, * {
    font-family: "gg sans", sans-serif !important;
}
