﻿/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
  color: #0077cc;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}


/* FamaTask dashboard pastel palette */

.FamaTask-dashboard {
    color: #34465a;
}

    .FamaTask-dashboard h1 {
        color: #34465a;
        font-weight: 700;
    }

    .FamaTask-dashboard .card {
        border: 1px solid rgba(60, 80, 110, 0.08);
        border-radius: 16px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .FamaTask-dashboard .card:hover {
            transform: translateY(-4px);
            box-shadow: 0 10px 24px rgba(40, 60, 90, 0.10) !important;
        }

    .FamaTask-dashboard .card-title {
        color: #34465a;
    }

/* Soft blue - Matters */
.FamaTask-matters {
    background-color: #e7f0fc;
}

/* Soft green - Clients */
.FamaTask-clients {
    background-color: #e5f3ec;
}

/* Soft lavender - Workflows */
.FamaTask-workflows {
    background-color: #f0e9fa;
}

/* Soft peach - Settings */
.FamaTask-settings {
    background-color: #fff1e4;
}

.FamaTask-dashboard .badge {
    background-color: rgba(255, 255, 255, 0.65) !important;
    color: #526579 !important;
    border: 1px solid rgba(60, 80, 110, 0.12);
}
/* ==========================================
   FamaTask - Professional sidebar
   ========================================== */

.famatask-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 240px;
    background: #17375e;
    color: #ffffff;
    padding: 28px 14px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(15, 35, 65, 0.08);
}

/* Application branding */
.famatask-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 30px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.4px;
}

    .famatask-sidebar-brand:hover {
        color: #ffffff;
    }

    .famatask-sidebar-brand i {
        color: #65c7d8;
        font-size: 1.6rem;
    }

/* Navigation links */
.famatask-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.famatask-sidebar-link {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    border-radius: 10px;
    color: #c7d7e8;
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
}

    .famatask-sidebar-link i {
        font-size: 1.15rem;
        width: 22px;
        text-align: center;
    }

    .famatask-sidebar-link:hover {
        background: rgba(255, 255, 255, 0.09);
        color: #ffffff;
    }

    .famatask-sidebar-link.active {
        background: #287c91;
        color: #ffffff;
        font-weight: 600;
    }

/* Keep the sidebar accessible on smaller screens.
   A collapsible mobile menu will be added next. */
@media (max-width: 991.98px) {
    .famatask-sidebar {
        position: static;
        width: 100%;
        padding: 14px;
    }

    .famatask-sidebar-brand {
        padding-bottom: 12px;
    }

    .famatask-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
/* ==========================================
   FamaTask - Main workspace
   ========================================== */

@media (min-width: 992px) {
    body:has(.famatask-sidebar) .famatask-workspace,
    body:has(.famatask-sidebar) > header,
    body:has(.famatask-sidebar) > footer {
        margin-left: 240px;
    }
}

.famatask-workspace {
    min-height: calc(100vh - 140px);
    padding-top: 12px;
}

/* Keep the application background clean and subtle. */
body:has(.famatask-sidebar) {
    background-color: #f8fafc;
}

/* FamaTask animated workflow wave */
.famatask-wave {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .famatask-wave svg {
        width: 100%;
        height: 100%;
        overflow: visible;
    }

    .famatask-wave path {
        stroke: #65c7d8;
        stroke-width: 3;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-dasharray: 55;
        animation: famatask-wave-flow 3.5s linear infinite;
    }

        .famatask-wave path:nth-child(2) {
            animation-delay: -0.5s;
            opacity: 0.8;
        }

        .famatask-wave path:nth-child(3) {
            animation-delay: -1s;
            opacity: 0.6;
        }

@keyframes famatask-wave-flow {
    from {
        stroke-dashoffset: 55;
    }

    to {
        stroke-dashoffset: -55;
    }
}

/* Respect reduced-motion accessibility preferences */
@media (prefers-reduced-motion: reduce) {
    .famatask-wave path {
        animation: none;
        stroke-dasharray: none;
    }
}

/* FamaTask brand - subtle forward motion */
.famatask-brand-name {
    display: inline-block;
    font-style: italic;
    font-weight: 700;
    letter-spacing: -0.5px;
    transform: skewX(-6deg);
    transform-origin: left center;
    transition: transform 0.3s ease;
}

/* Slightly accentuate the motion on hover */
.famatask-sidebar-brand:hover .famatask-brand-name {
    transform: skewX(-9deg) translateX(2px);
}
/* ==========================================
   FamaTask - Professional top bar
   ========================================== */

.famatask-topbar {
    min-height: 68px;
    border-color: #e8edf4 !important;
    box-shadow: 0 2px 12px rgba(23, 55, 94, 0.035);
}

    /* Language selector */
    .famatask-topbar .form-select {
        border-radius: 9px;
        font-weight: 500;
        transition: border-color 0.2s, box-shadow 0.2s;
    }

        .famatask-topbar .form-select:focus {
            border-color: #65c7d8;
            box-shadow: 0 0 0 3px rgba(101, 199, 216, 0.15);
        }

    /* Logout button */
    .famatask-topbar .btn-outline-secondary {
        border-radius: 9px;
        padding: 7px 15px;
        font-weight: 500;
        border-color: #dce5ef;
        color: #52677d;
        transition: all 0.2s ease;
    }

        .famatask-topbar .btn-outline-secondary:hover {
            background: #17375e;
            border-color: #17375e;
            color: #ffffff;
        }

/* Modern dashboard module cards */

.ft-module-modern {
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .ft-module-modern:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.10);
    }

.ft-module-arrow {
    font-size: 1.15rem;
    color: #94a3b8;
    transition: color 0.25s ease, transform 0.25s ease;
}

.ft-module-modern:hover .ft-module-arrow {
    color: #0d9488;
    transform: translate(2px, -2px);
}

.ft-module-action {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0d9488;
}