/**
 * Installateur Calamares — peau Manjaro KDE (Breeze clair, marque Manjaro).
 * Vérité VM A1.3 (VMID 1907 temporaire, manjaro-kde-25.0.9-251003-linux612.iso, 1280×800, 2026-10-23) : fenêtre 1026×589 à
 * (128,98), barre de titre Breeze 27 px + bordure #dee0e2 (titre 13,3 px centré), bordure #b9bbbd ; barre latérale QML 190 px
 * (fond #454948 sur 172 px, pastilles #35bfa4 / #bdc1c6) ; contenu #eff0f1 de 834 × 560 px.
 * Session live : raccourci « Install Manjaro Linux » seul sur le bureau et Manjaro Hello ouvert par-dessus.
 * Captures : root/docs/inventaires/captures/linux-manjaro-kde/visual-fidelity/install/vm/.
 */
body#manjaro-kde .windowElement[data-link="calamares"] {
    padding: 0;
    border: 1px solid #b9bbbd;
    border-radius: 0;
    background: #eff0f1;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

body#manjaro-kde div.windowElement[data-link="calamares"]:not([data-link="nemo"]):not(#mainMenu) #windowHeader {
    height: 27px;
    min-height: 27px;
    max-height: 27px;
    font-family: "Noto Sans", sans-serif;
    font-size: 13.3px;
    background: #dee0e2;
}

body#manjaro-kde[data-capsule-install] .desktop-shortcut:not(.calamares-live-shortcut) {
    display: var(--n);
}

body#manjaro-kde[data-capsule-install] .calamares-live-shortcut {
    display: var(--f);
}

/* Pied : boutons à 521 px du haut du contenu (fenêtre de 560 px de contenu, contre 522 chez neon). */
body#manjaro-kde main#calamaresApp .calamares-app__footer {
    top: 521px;
}

/* --- Bienvenue : titre Noto Sans Bold 20 pt sur une ligne, mascotte de la marque, langue en bas --- */
body#manjaro-kde main#calamaresApp .calamares-app__content--welcome .calamares-h1 {
    top: 46px;
    font-size: 26.67px;
    white-space: nowrap;
}

body#manjaro-kde main#calamaresApp .calamares-app__content--welcome .calamares-text--center {
    top: 96px;
}

body#manjaro-kde main#calamaresApp .calamares-welcome__image {
    top: 161px;
    left: 350px;
    width: 144px;
    height: 215px;
}

body#manjaro-kde main#calamaresApp .calamares-welcome__lang {
    top: 434px;
}


/* GRUB de l'ISO : la barre de sélection est le pixmap select_c.png du thème, étiré. */
body#manjaro-kde .calamares-grubtheme__entry.is-selected {
    --grub-select: url("../../../../../usr/share/capsuleos/assets/images/vendors/manjaro/install/grub/select_c.webp");
}

/* --- SDDM « breath » de Manjaro (usr/share/sddm/themes/breath) : fond flou et assombri, horloge en graisse normale
   cernée d'ombre, avatar sombre, actions Breeze plus haut que chez neon, « Clavier virtuel » en bas à gauche. --- */
body#manjaro-kde .calamares-sddm__bg {
    filter: blur(24px) brightness(0.58) saturate(0.75);
}

body#manjaro-kde .calamares-sddm__clock,
body#manjaro-kde .calamares-sddm__date,
body#manjaro-kde .calamares-sddm__name {
    text-shadow: 0 0 2px #000000, 0 1px 3px rgba(0, 0, 0, 0.6);
}

body#manjaro-kde .calamares-sddm__clock {
    top: 70px;
    font-size: 64px;
    font-weight: 400;
}

body#manjaro-kde .calamares-sddm__date {
    top: 153px;
    font-size: 29px;
}

body#manjaro-kde .calamares-sddm__avatar {
    top: 265px;
    left: 578px;
    width: 125px;
    height: 125px;
    border-width: 3px;
    border-color: #f2f2f2;
    background-color: #454c4f;
}

body#manjaro-kde .calamares-sddm__name {
    top: 409px;
    font-size: 20px;
}

body#manjaro-kde .calamares-sddm__form {
    top: 461px;
}

body#manjaro-kde .calamares-sddm__eye {
    display: var(--n);
}

body#manjaro-kde .calamares-sddm__actions {
    top: 616px;
    gap: 82px;
}

body#manjaro-kde .calamares-sddm__action-icon {
    width: 40px;
    height: 40px;
}

body#manjaro-kde .calamares-sddm__session {
    top: auto;
    bottom: 10px;
    left: 10px;
    display: var(--f);
    gap: 13px;
    width: auto;
    font-size: 12px;
    text-align: left;
}

body#manjaro-kde .calamares-sddm__keyboard::before {
    display: inline-block;
    width: 18px;
    height: 12px;
    margin-right: 6px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 12'><rect x='0.5' y='0.5' width='17' height='11' rx='1' fill='none' stroke='white'/><path d='M3 3h2M7 3h2M11 3h2M15 3h0M3 6h2M7 6h2M11 6h4M5 9h8' stroke='white'/></svg>") center / contain no-repeat;
    vertical-align: -1px;
    content: '';
}

/* --- Partitions : liste Swap + système de fichiers sous « Effacer le disque », bas de page à 320 px --- */
body#manjaro-kde main#calamaresApp .calamares-part__fs {
    width: 64px;
}

body#manjaro-kde main#calamaresApp .calamares-part__swap {
    position: static;
    width: 182px;
}

body#manjaro-kde main#calamaresApp .calamares-part__bottom.has-after {
    top: 320px;
}

/* --- Installer : barre et état sous un diaporama de 435 px --- */
body#manjaro-kde main#calamaresApp .calamares-progress {
    top: 461px;
}

body#manjaro-kde main#calamaresApp .calamares-progress__status {
    top: 497px;
}

/* --- Plymouth two-step (thème « manjaro ») : roulette 70 × 10 px à 0,7 de la hauteur, filigrane à 0,96. Le logo du
   micrologiciel (BGRT) que la VM affiche au centre n'est pas reproduit : c'est celui du fabricant de la machine. --- */
body#manjaro-kde .calamares-plymouth--manjaro .calamares-plymouth__spinner {
    top: 555px;
    left: 605px;
    width: 70px;
    height: 10px;
    animation: none;
}

body#manjaro-kde .calamares-plymouth--manjaro .calamares-plymouth__watermark {
    bottom: 31px;
}

/* --- Emplacement : carte à 18 px du haut, Région / Zone à 384 px (contenu plus haut que chez neon) --- */
body#manjaro-kde main#calamaresApp .calamares-map {
    top: 18px;
}

body#manjaro-kde main#calamaresApp .calamares-location__row {
    top: 384px;
}

body#manjaro-kde main#calamaresApp .calamares-location__line:nth-of-type(3) {
    top: 434px;
}

body#manjaro-kde main#calamaresApp .calamares-location__line:nth-of-type(4) {
    top: 475px;
}

/* Boutons du pied plus serrés que chez neon (marge intérieure 6 px) ; « Annuler » détaché de 20 px. */
body#manjaro-kde main#calamaresApp .calamares-app__footer .calamares-btn {
    padding: 0 5px 0 6px;
}

body#manjaro-kde main#calamaresApp .calamares-app__footer .calamares-btn:last-child {
    margin-left: 11px;
}
