/* BR4VE STUDIO - Dark Theme */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Montserrat:wght@700;900&display=swap');

:root {
    /* Override Nextcloud colors */
    --color-primary: #00BCD4 !important;
    --color-primary-element: #00BCD4 !important;
    --color-primary-element-hover: #18FFFF !important;
    --color-primary-element-light: rgba(0, 188, 212, 0.15) !important;
    --color-primary-text: #ffffff !important;
    --color-background-dark: #0d0d0d !important;
    --color-background-darker: #000000 !important;
    --color-main-background: #0a0a0a !important;
    --color-main-background-translucent: rgba(10, 10, 10, 0.97) !important;
    --color-main-text: #ffffff !important;
    --color-text-maxcontrast: rgba(255, 255, 255, 0.55) !important;
    --color-border: rgba(0, 188, 212, 0.12) !important;
    --color-border-dark: rgba(0, 188, 212, 0.25) !important;
    --font-face: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    --border-radius-large: 8px !important;
    --border-radius: 6px !important;
}

/* Force dark mode */
body, #body-login, #body-user, #body-public {
    background: #0a0a0a !important;
    color: #ffffff !important;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

/* Login page */
body#body-login {
    background: #000000 !important;
}

body#body-login .wrapper {
    background: transparent !important;
}

body#body-login .v-align {
    background: transparent !important;
}

#body-login .login-box,
#body-login .guest-box {
    background: rgba(20, 20, 20, 0.95) !important;
    border: 1px solid rgba(0, 188, 212, 0.15) !important;
    border-radius: 12px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

/* Header */
#header {
    background: rgba(0, 0, 0, 0.88) !important;
    backdrop-filter: blur(24px) !important;
    border-bottom: 1px solid rgba(0, 188, 212, 0.12) !important;
}

/* Sidebar / Navigation */
#app-navigation,
.app-navigation {
    background: #0d0d0d !important;
    border-right: 1px solid rgba(0, 188, 212, 0.08) !important;
}

/* Content area */
#app-content,
.app-content {
    background: #0a0a0a !important;
}

/* Cards and elements */
.card, .section, .app-sidebar {
    background: #141414 !important;
    border: 1px solid rgba(0, 188, 212, 0.08) !important;
    border-radius: 8px !important;
}

/* Buttons */
.button-vue--vue-primary,
.primary {
    background-color: #00BCD4 !important;
    border-color: #00BCD4 !important;
    color: #000000 !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
}

.button-vue--vue-primary:hover,
.primary:hover {
    background-color: #18FFFF !important;
    border-color: #18FFFF !important;
    color: #000000 !important;
}

/* Input fields */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(0, 188, 212, 0.2) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
    font-family: 'Space Grotesk', sans-serif !important;
}

input:focus, textarea:focus {
    border-color: #00BCD4 !important;
    box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2) !important;
}

/* File list */
.files-list,
#filestable {
    color: #ffffff !important;
}

/* Links */
a {
    color: #00BCD4 !important;
}

a:hover {
    color: #18FFFF !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 188, 212, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 188, 212, 0.5);
}

/* Dashboard widgets */
.dashboard-widget {
    background: #141414 !important;
    border: 1px solid rgba(0, 188, 212, 0.08) !important;
    border-radius: 10px !important;
}

/* Logo on login - bigger */
#body-login .logo {
    max-width: 300px !important;
}
