/* =====================================================================
   DSP Software Solutions - Global Marketing Footer.
   A single shared footer rendered on every master page via DspFooter.ascx.
   Centered three-line brand hierarchy:
     1. Secure Powered by DSP Salon Management System
     2. Software Provided by DSP Software Solutions / 077 036 3565
     3. Copyright © [year] DSP Software Solutions
   Theme-agnostic (works on Site, Public, ClientPortal and Employee masters).
   ===================================================================== */

.dsp-footer {
    background: linear-gradient(150deg, #201d29 0%, #14121b 100%);
    color: rgba(255, 255, 255, 0.85);
    padding: 0;
    width: 100%;
    flex: 0 0 auto;
}

.dsp-footer-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 20px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    border-top: 1px solid rgba(211, 20, 108, 0.22);
}

.dsp-footer p {
    margin: 0;
    line-height: 1.55;
}

/* ---------------- 1. Powered by line ---------------- */
.dsp-footer-powered {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-wrap: wrap;
}

.dsp-footer-shield {
    color: #F1CCAF;
    font-size: 12px;
}

.dsp-product-name {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.2px;
}

/* ---------------- 2. Software provider line ---------------- */
.dsp-footer-provided {
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.dsp-footer-company {
    color: #F1CCAF;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.dsp-footer-company:hover {
    color: #ffffff;
    border-bottom-color: #F1CCAF;
}

.dsp-footer-company:focus-visible,
.dsp-footer-tel:focus-visible,
.dsp-footer-fb:focus-visible,
.dsp-footer-copy .dsp-footer-copy-link:focus-visible {
    outline: 2px solid #F1CCAF;
    outline-offset: 3px;
    border-radius: 4px;
}

.dsp-footer-fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    font-size: 12px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.dsp-footer-fb:hover {
    background: #1877F2;
    color: #fff;
    transform: translateY(-1px);
}

/* ---------------- 2b. Phone line ---------------- */
.dsp-footer-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
}

.dsp-footer-tel {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.dsp-footer-tel i {
    color: #F1CCAF;
    font-size: 12px;
}

.dsp-footer-tel:hover,
.dsp-footer-tel:focus {
    color: #F1CCAF;
    border-bottom-color: rgba(241, 204, 175, 0.6);
}

.dsp-footer-copy {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.5);
}

.dsp-footer-copy .dsp-footer-copy-link {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.dsp-footer-copy .dsp-footer-copy-link:hover {
    color: #F1CCAF;
}

/* ---------------- Mobile (phones) ---------------- */
@media (max-width: 560px) {
    .dsp-footer-inner {
        padding: 14px 16px 16px;
        gap: 7px;
    }

    .dsp-footer-powered,
    .dsp-footer-provided,
    .dsp-footer-contact,
    .dsp-footer-copy {
        max-width: 100%;
        flex-wrap: wrap;
    }
}

/* ---------------- Standalone pages (no master: Login.aspx) ---------------- */
/* Keep the shared footer pinned at the viewport bottom under the login card. */
.login-body {
    flex-direction: column;
    padding: 0;
}

.login-body > form {
    flex: 1 1 auto;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.login-body > .dsp-footer {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 100%;
}

/* ---------------- Print ---------------- */
@media print {
    .dsp-footer {
        display: none;
    }
}