﻿* {
    box-sizing: border-box;
}
body, html {
    background: linear-gradient(135deg, #0d1b2a, #1b263b, #415a77, #778da9);
    background-size: 400% 400%;
    animation: gradientShift 30s ease infinite;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    height: 100%;
    background-color: #1d3b5c;
    font-family: sans-serif;
    backdrop-filter: blur(10px);
}
@keyframes star-fly {
    0% {
        opacity: 0;
        transform: translateX(0px) translateY(10px) scale(0.9) rotate(-10deg);
    }

    20% {
        opacity: 1;
        transform: translateX(80px) translateY(0px) scale(1) rotate(-3deg);
    }

    60% {
        opacity: 1;
        transform: translateX(120px) translateY(-10px) scale(1.2) rotate(2deg);
    }

    80% {
        opacity: 1;
        transform: translateX(180px) translateY(-10px)  scale(1.35) rotate(4deg);
    }

    100% {
        opacity: 1;
        transform: translateX(240px) translateY(-20px) scale(1.5) rotate(8deg);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(234,179,8, 0.5);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(234,179,8, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(234,179,8, 0);
    }
}
.badge-pulse {
    animation: pulse-badge 1.2s infinite;
    transition: box-shadow 0.2s;
}

.badge-animate {
    box-shadow: 0 0 8px 2px #14ff8b77;
    animation: pulse 0.5s;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #14ff8b77;
    }

    70% {
        box-shadow: 0 0 10px 6px #14ff8b44;
    }

    100% {
        box-shadow: 0 0 0 0 #14ff8b00;
    }
}


.bi-power:hover {
    color: red;
    cursor: pointer;
}


.css-avatar {
    width: 50px;
    height: 50px;
    background-color: #0b71a7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
   
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .css-avatar:hover {
        transform: scale(1.15);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 8px rgba(11, 113, 167, 0.6);
    }



.top-bar-icons {
    position: relative;
    top: -20px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.settings-icon {
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

    .settings-icon:hover {
        transform: scale(1.2);
        color: #0b71a7;
    }

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 30px 40px 0 40px;
    position: fixed;
    top: 0px;
    left: 0;
    z-index: 5;
    box-sizing: border-box;

}




.title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.inline-logo {
    height: 1.8em;
    vertical-align: middle;
    margin-top: 1px;
    margin-left: 2px;
    transform: translate(-12px, -6px);
}

.drag-over {
    border: 2px dashed #0d6efd !important;
    background: #f0f7ff;
    transition: background 0.2s;
}

.sidebar-box {
    width: 160px;
    height: 50%;
    background-color: #0f1a2b;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    margin-left: 30px;
    margin-right: 30px;
    margin-top: -220px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding-top: 30px;
}
.sidebar-link.active {
    background: linear-gradient(90deg, #1b5c90, #0b71a7 90%);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 0 8px #11b0fa55;
}
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
    padding-top: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #0f1a2b;
    color: #b0bed0;
    padding: 10px 12px;
    width: 90%;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    justify-content: flex-start;
}

    .sidebar-link i {
        font-size: 1.25rem;
        display: inline-block;
        width: 22px;
        text-align: center;
    }

    .sidebar-link:hover {
        background-color: #162233;
        color: white;
    }

    .sidebar-link.active {
        background-color: #1b2a3d;
        color: white;
        font-weight: 600;
        box-shadow: inset 0 0 8px rgba(11, 113, 167, 0.4);
    }

@media (max-width: 768px) {
    .sidebar-link span {
        display: none;
    }

    .sidebar-box {
        width: 60px;
    }
}



.titleText {
    font-size: 1.8em;
    font-weight: 600;
    color: white;
    text-align: center;
    width: 50%;
    margin-top: 10px;
    margin-left: 30px;
}

.minititleText {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    text-align: center;
    width: 50%;
    margin-top: 30px;
    margin-right: -5px;
    position: relative;
}

.minititleTag {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-align: center;
    width: 50%;
    margin-bottom: 00px;
    margin-left: 90px;
}

.titleIndex {
    margin: 0 auto;
    display: block;
    width: fit-content;
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: white;
}

.footer-text {
    position:  fixed;
    bottom: 0px;
    width: 100%;
    text-align: center;
   
    color: white;
    font-weight: 600;
    font-size: 0.55rem;
    margin-right: -200px;
    pointer-events: none;
}

.titleFooter {
    margin: 0 auto;
    display: block;
    width: fit-content;
    text-align: center;
    font-size: .55rem;
    font-weight: 600;
    color: white;
}
.btn-sm.mb-0 {
    margin-bottom: 0 !important;
}

.inline-logo-footer {
    height: 1.8em;
    vertical-align: middle;
    margin-top: 1px;
    margin-left: 2px;
    transform: translate(-5px, -3px);
}

.center-title {
    flex: 1;
    display: flex;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

.left-footer {
    flex: 1;
    display: flex;
    margin-top: 0px;
    justify-content: left;
    align-items: start;
}

.log-line.update {
    color: limegreen;
    font-weight: bold;
}

.log-line.info {
    color: goldenrod;
    font-weight: bold;
}

.log-line.debug {
    color: red;
    font-weight: bold;
    font-style: italic;
}

.form-switch {
    margin-bottom: 0;
    margin-left: 1rem;
}

.cert-accordion-container {
    max-height: 100px; 
    overflow-y: auto;
    padding-right: 8px; 
}

.scroll-pane {
    max-height: 60vh;
    overflow-y: auto;
}

.log-line {
    font-family: monospace;
    padding: 2px 4px;
    border-bottom: 1px solid #eee;
}

.quick-create {
    max-height: 660px;
}
.inner-box {
    padding-top: 74px; 
    padding-bottom: 66px;  
}

.card {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #ffffff;
    backdrop-filter: blur(10px);
}

    .card h3 {
        color: #343a40;
    }

    .card p {
        color: #6c757d;
    }

    .card.useful-links {
        margin: 0 auto;
    }

    .card.renewals {
        max-width: 700px;
        padding: 10px 25px;
        border-radius: 12px;
        background-color: blueviolet;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        text-align: center;
    }

    .card.quick-create {
        max-width: 400px;
        padding: 25px 50px;
        border-radius: 12px;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        text-align: center;
    }

    .card.mb-2:hover {
        transform: scale(1.01);
        background: #f3faff;
        box-shadow: 0 6px 18px rgba(0, 123, 255, 0.25);
        transition: all 0.2s ease-in-out;
        border: 1px solid rgba(0, 123, 255, 0.4);
        cursor: pointer;
    }

    .card.mb-2 {
        margin-bottom: 6px !important;
        margin-top: 6px !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

.useful-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    text-align: center;
}

    .useful-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px 12px;
        margin: 4px 0;
        text-decoration: none;
        color: #0b71a7;
        font-weight: 600;
        transition: background 0.2s, transform 0.2s;
        border-radius: 8px;
        width: 100%;
        max-width: 240px;
    }

        .useful-links a:hover {
            background: #f3faff;
            transform: scale(1.02);
            transition: all 0.2s ease-in-out;
        }

.link-icon {
    width: 20px;
    height: 20px;
}

.link-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.resource-link {
    background: linear-gradient(145deg, #0b71a7, #0f1a2b);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

    .resource-link:hover {
        transform: scale(1.03);
    }

.accordion-button {
    color: white;
    max-height: 35px;
    font-weight: 600;
    margin-top: 2px;
    padding: 10px 15px;
    border-radius: 10px;
}

    .accordion-button:hover {
        background-color: white;
        transform: scale(1.02);
    }

.collapseActive,
.collapseExpiring,
.collapseExpired {
    background-color: #0b71a7;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 10px;
}

.cert-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px, 40px;
    border-radius: 20px;
    border: 1px solid #0b2950;
    text-align: center;
}

    .cert-form h5 {
        font-weight: bold;
        margin-bottom: 8px;
    }

    .cert-form input[type="radio"] {
        margin-top: 5px;
        accent-color: #0b71a7;
    }



.title-cert-dropdown {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: black;
    text-align: center;
}

.accordion-body {
    max-height: 800px;
    overflow-y: auto;
}

.btn-glow {
    background: linear-gradient(to right, #007bff, #00c6ff);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.2s ease-in-out;
}

    .btn-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
        background: linear-gradient(to right, #0056d2, #0098e5);
    }

    .btn-glow:active {
        transform: translateY(1px);
        box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
    }


.cert-format-options input[type="radio"] {
    margin-bottom: 6px;
    transform: scale(1.1);
    accent-color: #007bff;
}

.cert-format-options label {
    display: block;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

.format-subtext {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
}

.list-group {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 5px;
    padding-right: 5px;
}

.card.mb-2 .renewal-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.provider,
.expires-in,
.domain-link {
    margin-bottom: 2px !important;
}

.domain-link {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

.domain-link,
.expires-in,
.provider,
.auto-renew {
    text-align: left;
    margin: 0;
    padding: 0;
}

.provider {
    font-weight: 600;
    font-size: 1rem;
}

.expires-in {
    font-weight: 600;
    font-size: 1rem;
    font-style: italic;
}

.domain-link {
    font-size: 1.5rem;
    font-weight: 900;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.auto-renew {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0.25rem;
    padding: 0;
    background-color: transparent;
}


.form-check-input {
    accent-color: #05131d;
    transform: scale(1);
    margin-right: 8px;
    cursor: pointer;
}

.form-check-label {
    text-align: left !important;
    font-size: 0.7rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.9rem;
    text-align: left;
}

.domain-link {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
    max-width: max-content;
}

.form-switch {
    margin-bottom: 0;
    margin-left: 1rem;
}

.cert-accordion-container {
    max-height: 70vh; 
    overflow-y: auto;
    padding-right: 8px; 
}

.scroll-pane {
    max-height: 60vh;
    overflow-y: auto;
}

.log-line {
    font-family: monospace;
    padding: 2px 4px;
    border-bottom: 1px solid #eee;
}


.card {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    background-color: #ffffff;
    backdrop-filter: blur(10px); 
}

    .card h3 {
        color: #343a40;
    }

    .card p {
        color: #6c757d;
    }

    .card.useful-links {
        margin: 0 auto;
    }

    .card.renewals {
        max-width: 700px;
        padding: 25px 50px;
        border-radius: 12px;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        text-align: center;
    }

    .card.quick-create {
        max-width: 400px;
        padding: 25px 50px;
        border-radius: 12px;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        margin: 0 auto;
        text-align: center;
    }

    .card.mb-2:hover {
        transform: scale(1.01);
        background: #f3faff;
        box-shadow: 0 6px 18px rgba(0, 123, 255, 0.25);
        transition: all 0.2s ease-in-out;
        border: 1px solid rgba(0, 123, 255, 0.4);
        cursor: pointer;
    }

    .card.mb-2 {
        margin-bottom: 6px !important;
        margin-top: 6px !important;
        padding-top: 10px;
        padding-bottom: 10px;
    }

.useful-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    background-color: #fff;
    text-align: center;
}

    .useful-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 8px 12px;
        margin: 4px 0;
        text-decoration: none;
        color: #0b71a7;
        font-weight: 600;
        transition: background 0.2s, transform 0.2s;
        border-radius: 8px;
        width: 100%;
        max-width: 240px;
    }

        .useful-links a:hover {
            background: #f3faff;
            transform: scale(1.02);
            transition: all 0.2s ease-in-out;
        }

.link-icon {
    width: 20px;
    height: 20px;
}

.link-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.resource-link {
    background: linear-gradient(145deg, #0b71a7, #0f1a2b);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease;
}

    .resource-link:hover {
        transform: scale(1.03);
    }




.cert-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px, 40px;
    border-radius: 20px;
    border: 1px solid #0b2950;
    text-align: center;
}

    .cert-form h5 {
        font-weight: bold;
        margin-bottom: 8px;
    }

    .cert-form input[type="radio"] {
        margin-top: 5px;
        accent-color: #0b71a7;
    }



.title-cert-dropdown {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: black;
    text-align: center;
}

.accordion-body {
    max-height: 400px;
    overflow-y: auto;
}

.cert-domain {
    font-size: .5rem;
    font-weight: 600;
    color: #0b71a7;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.btn-glow {
    background: linear-gradient(to right, #007bff, #00c6ff);
    border: none;
    border-radius: 12px;
    color: white;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4);
    transition: all 0.2s ease-in-out;
}

    .btn-glow:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
        background: linear-gradient(to right, #0056d2, #0098e5);
    }

    .btn-glow:active {
        transform: translateY(1px);
        box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
    }


.cert-format-options input[type="radio"] {
    margin-bottom: 6px;
    transform: scale(1.1);
    accent-color: #007bff;
}

.cert-format-options label {
    display: block;
    cursor: pointer;
    font-size: 0.9rem;
    color: #333;
}

.format-subtext {
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
}

.list-group {
    padding-top: -5px;
    padding-bottom: -5px;
    padding-left: 5px;
    padding-right: 5px;
}

.card.mb-2 .renewal-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    text-align: left;
}

.provider,
.expires-in,
.domain-link {
    margin-bottom: 2px !important;
}

.domain-link {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

.domain-comma {
    font-size: 1rem;
    font-weight: 800;
    color: black;
    margin-right: 0.15em;
    margin-left: -0.12em;
    user-select: none;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.11);
}

.domain-link::before {
    content: "";
}

.domain-link[data-wildcard="true"]::before {
    content: "*.";
    color: #ec9f05;
    font-weight: bold;
    margin-right: 0.05em;
}

.domain-link,
.expires-in,
.provider,
.auto-renew {
    text-align: left;
    margin: 0;
    padding: 0;
}

.provider {
    font-weight: 600;
    font-size: .75rem;
}

.expires-in {
    font-weight: 600;
    font-size: .75rem;
    font-style: italic;
}

.domain-link {
    font-size: .9rem;
    font-weight: 900;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.auto-renew {
    display: flex;
    align-items: center;
    margin-top: 0.13rem;
    padding: 0;
    background-color: transparent;
    gap: 0.20rem;
    min-height: .8rem;
    font-size: 0.79rem; 
}

    .auto-renew i,
    .auto-renew .bi {
        font-size: 1.08rem !important; 
        margin-right: 3px;
        vertical-align: middle;
    }

.auto-renew-text {
    font-size: 0.7rem;
    margin-left: 2px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-check-input {
    accent-color: #05131d;
    transform: scale(1.2);
    margin-right: 8px;
    cursor: pointer;
}

.form-check-label {
    text-align: left !important;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0.75rem;
    text-align: left;
}

.domain-link {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    white-space: nowrap;
    max-width: max-content;
}

.expiry-countdown {
    font-weight: bold;
    transition: color 0.3s;
}

.info-icon {
    font-size: .9rem; 
    color: #1890ff; 
    vertical-align: middle;
    transition: color 0.2s;
}

    .info-icon:hover {
        color: #0056b3;
    }

