/*
 * BestCloud / Undernet.Cloud
 * CService visual integration
 */

/* Main startup screen */
.kiwi-startup-common {
    background: #ffffff !important;
}

/* Remove Kiwi dark panel */
.kiwi-startup-common--no-bg .kiwi-startup-common-section-info,
.kiwi-startup-common-section-info {
    background: #eef8fd !important;
    border-left: 1px solid #9bd8f5 !important;
    color: #063b61 !important;
}

/* Welcome information card */
.kiwi-startup-common-section-info-content {
    background: #ffffff !important;
    color: #063b61 !important;
    border: 1px solid #9bd8f5 !important;
    box-shadow: 0 10px 30px rgba(0, 76, 122, .08) !important;
}

/* Connection/login side */
.kiwi-startup-common-section-connection {
    background: #ffffff !important;
    color: #063b61 !important;
}

/* Form heading */
form.kiwi-welcome-simple-form h2 {
    color: #063b61 !important;
}

/* Inputs */
.kiwi-welcome-simple-form input[type="text"],
.kiwi-welcome-simple-form input[type="password"] {
    background: #ffffff !important;
    color: #063b61 !important;
    border-color: #9bd8f5 !important;
}

/* Start button - same blue family as CService */
.kiwi-welcome-simple-form .u-submit,
.kiwi-welcome-simple-start {
    background: #19afe5 !important;
    color: #ffffff !important;
    border-color: #19afe5 !important;
}

.kiwi-welcome-simple-form .u-submit:hover,
.kiwi-welcome-simple-start:hover {
    background: #078fc9 !important;
}

/* Remove Kiwi green separator */
.kiwi-startup-common-section-info {
    border-left-color: #9bd8f5 !important;
}

/* Mobile separator */
@media (max-width:850px) {
    .kiwi-startup-common--no-bg .kiwi-startup-common-section-info {
        border-top: 1px solid #9bd8f5 !important;
        border-left: none !important;
    }
}

/* FINAL CSERVICE STARTUP THEME */
html body .kiwi-startup-common--no-bg .kiwi-startup-common-section-info {
    background: #eef8fd !important;
    background-color: #eef8fd !important;
    border-left: 1px solid #9bd8f5 !important;
    color: #063b61 !important;
}

html body .kiwi-startup-common-section-info-content {
    background: #ffffff !important;
    color: #063b61 !important;
    border: 1px solid #9bd8f5 !important;
    box-shadow: 0 8px 24px rgba(0,76,122,.08) !important;
}

html body .kiwi-startup-common-section-connection {
    background: #ffffff !important;
    color: #063b61 !important;
}

html body form.kiwi-welcome-simple-form h2 {
    color: #063b61 !important;
}

html body form.kiwi-welcome-simple-form .u-submit,
html body .kiwi-welcome-simple-start,
html body form.kiwi-welcome-simple-form button {
    background: #19afe5 !important;
    background-color: #19afe5 !important;
    border-color: #19afe5 !important;
    color: #ffffff !important;
}

html body form.kiwi-welcome-simple-form .u-submit:hover,
html body .kiwi-welcome-simple-start:hover,
html body form.kiwi-welcome-simple-form button:hover {
    background: #078fc9 !important;
    background-color: #078fc9 !important;
}

@media (max-width:850px) {
    html body .kiwi-startup-common--no-bg .kiwi-startup-common-section-info {
        border-top: 1px solid #9bd8f5 !important;
        border-left: none !important;
    }
}


/* ==========================================================
   BESTCLOUD / UNDERNET.CLOUD
   CONNECTED KIWIIRC CLIENT THEME
   ========================================================== */

/* LEFT IRC SIDEBAR */
.kiwi-statebrowser {
    background: #064d75 !important;
    color: #ffffff !important;
}

/* Network / profile area */
.kiwi-statebrowser-network,
.kiwi-statebrowser-network-header,
.kiwi-statebrowser-network-status,
.kiwi-statebrowser-usermenu {
    background: #064d75 !important;
    color: #ffffff !important;
}

/* Channel + message section headings */
.kiwi-statebrowser-channels-header,
.kiwi-statebrowser-queries-header {
    background: #043f62 !important;
    color: #ffffff !important;
}

/* Channels / private messages */
.kiwi-statebrowser-channel {
    background: transparent !important;
    color: #ffffff !important;
    border-left-color: transparent !important;
}

.kiwi-statebrowser-channel:hover {
    background: rgba(255,255,255,.08) !important;
}

/* ACTIVE CHANNEL */
.kiwi-statebrowser-channel--active,
.kiwi-statebrowser-channel.active {
    background: #0d78ad !important;
    color: #ffffff !important;
    border-left-color: #22afe5 !important;
}

.kiwi-statebrowser-channel-name,
.kiwi-statebrowser-buffertype {
    color: inherit !important;
}

/* Top connection/status strip */
.kiwi-workspace:before {
    background: #19afe5 !important;
}

.kiwi-workspace:after {
    background: #d9534f !important;
}

/* MAIN IRC AREA */
.kiwi-workspace,
.kiwi-workspace-background,
.kiwi-container {
    background: #ffffff !important;
}

/* Channel title bar */
.kiwi-header {
    background: #ffffff !important;
    color: #063b61 !important;
    border-bottom-color: #b9dceb !important;
}

.kiwi-header-name,
.kiwi-header-name-container {
    color: #063b61 !important;
}

/* RIGHT USER LIST */
.kiwi-sidebar-section-nicklist,
.kiwi-nicklist {
    background: #ffffff !important;
    color: #173f59 !important;
}

.kiwi-nicklist-usercount {
    background: #f3f9fc !important;
    color: #063b61 !important;
    border-bottom-color: #c7e2ee !important;
}

.kiwi-nicklist-user {
    background: #ffffff !important;
}

.kiwi-nicklist-user:hover {
    background: #eef8fd !important;
}

/* MESSAGE AREA */
.kiwi-messagelist,
.kiwi-messagelist-inner,
.kiwi-messagelist-message {
    background-color: #ffffff !important;
}

/* INPUT BAR */
.kiwi-controlinput {
    background: #ffffff !important;
    border-top-color: #b9dceb !important;
}

.kiwi-controlinput input,
.kiwi-controlinput textarea {
    background: #ffffff !important;
    color: #173f59 !important;
}

/* Generic Kiwi accent -> CService blue */
.kiwi-sidebar .u-tabbed-view-tab.u-tabbed-view-tab--active {
    border-bottom-color: #19afe5 !important;
}

/* Keep status dots green - intentional */
.kiwi-awaystatusindicator {
    border-color: #ffffff !important;
}

/* Scrollbars where supported */
.kiwi-statebrowser::-webkit-scrollbar-thumb,
.kiwi-nicklist::-webkit-scrollbar-thumb {
    background: #178fc4 !important;
}


/* ==========================================================
   FINAL BESTCLOUD / CSERVICE POLISH
   ========================================================== */

/* Active IRC channel */
.kiwi-statebrowser-channel--active,
.kiwi-statebrowser-channel.active {
    background: #0879ad !important;
    border-left: 3px solid #21afe5 !important;
    color: #ffffff !important;
}

/* Network / unread badges */
.kiwi-statebrowser .kiwi-statebrowser-network-name .kiwi-statebrowser-network-name-badge,
.kiwi-statebrowser .kiwi-statebrowser-network-name-badge,
.kiwi-statebrowser .kiwi-statebrowser-badge {
    background: #19afe5 !important;
    color: #ffffff !important;
}

/* Channel header action buttons */
.kiwi-header .u-button,
.kiwi-header button {
    border-color: #b8ddec !important;
}

/* Keep normal channel header clean */
.kiwi-header {
    border-top: 3px solid #19afe5 !important;
}

/* User list header */
.kiwi-nicklist-usercount {
    background: #eef8fd !important;
    color: #063b61 !important;
}

/* Input focus */
.kiwi-controlinput input:focus,
.kiwi-controlinput textarea:focus {
    border-color: #19afe5 !important;
}

/* Login form input focus */
.kiwi-welcome-simple-form input:focus {
    border-color: #19afe5 !important;
    box-shadow: 0 0 0 1px #19afe5 !important;
}

/* Login start button */
.kiwi-welcome-simple-form .u-submit,
.kiwi-welcome-simple-start,
form.kiwi-welcome-simple-form button {
    background: #19afe5 !important;
    border-color: #19afe5 !important;
    color: #ffffff !important;
}

/* Do NOT recolour presence/status dots */
.kiwi-awaystatusindicator {
    background-color: #42b992;
}
