/* Custom CSS for cloud.core.gen.tr documentation */

/* Navbar logo sizing */
.md-header__button.md-logo img {
    width: 40px;
    height: 40px;
}

/* Homepage logo alignment */
.home-logo {
    float: left;
    margin: 0 1em 0.25em 0;
    shape-outside: margin-box;
    vertical-align: text-top;
}

/* Ensure text wraps properly around floated logo */
.md-content p:first-of-type {
    overflow: hidden;
    margin-top: 0;
    line-height: 1.5;
}

/* Clear floats after content */
.md-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Customize primary color accents */
[data-md-color-primary="#284176"] {
    --md-primary-fg-color: #284176;
    --md-primary-fg-color--light: #3a5a9e;
    --md-primary-fg-color--dark: #1c2f5a;
}

/* Customize accent color */
[data-md-color-accent="#f59e0b"] {
    --md-accent-fg-color: #f59e0b;
    --md-accent-fg-color--transparent: rgba(245, 158, 11, 0.1);
}

/* Hide sidebar site name */
.md-nav--primary > .md-nav__title {
    display: none !important;
}

/* Footer styling */
.md-footer {
    background-color: var(--md-primary-fg-color);
    color: var(--md-primary-bg-color);
}

.md-footer-meta {
    background-color: var(--md-primary-fg-color--dark);
    color: var(--md-primary-bg-color);
}

.md-footer__link,
.md-footer__link:visited,
.md-footer__link:hover {
    color: var(--md-primary-bg-color);
}

.md-footer__title,
.md-footer__direction {
    color: var(--md-primary-bg-color);
}

/* Open in new window link for iframe users - icon only */
.md-header__open-in-new {
    margin-left: auto;
    margin-right: 1rem;
    display: flex;
    align-items: center;
}

.md-header__open-in-new-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--md-primary-bg-color);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.md-header__open-in-new-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.md-header__open-in-new-link .md-icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: currentColor;
}

