@font-face {
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: 100 700;
    src: url("MaterialSymbolsOutlined.woff2") format("woff2");
    font-display: block;
}

.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
}

html,
body {
    font-family: Arial, sans-serif;
    height: 100%;
    width: 98%;
    display: flex;
    flex-direction: column;
}

body a,
body a:visited {
    color: #007c91;
    text-decoration: none;
}

body a:hover {
    text-decoration: underline;
}

#page-content {
    flex: 1;
}

footer {
    margin-top: 40px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.footer-link {
    color: inherit;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

#input-form {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    margin: 0 auto 30px auto;
    text-align: center;
}

#domainInput {
    width: 450px;
    height: 120px;
    resize: none;
    font-family: monospace;
    display: block;
    margin: 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

#input-form button {
    width: 400px;
    display: block;
    margin: 10px auto 0 auto;
    padding: 10px;
    box-sizing: border-box;
}

#output-container {
    max-width: 80%;
    margin: 0 auto;
    text-align: left;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    width: 100%;
}

th,
td {
    padding: 6px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 14px;
}

p {
    font-size: 14px;
}

.srv-info {
    font-size: 14px;
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.6;
}

.srv-info code {
    background-color: #f0f0f0;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}

.status-icon {
    text-align: center;
}

.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: max-content;
    background-color: #555;
    color: #fff;
    text-align: left;
    border-radius: 4px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    top: 50%;
    right: 110%;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    font-size: 14px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #555;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin: 2px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.material-symbols-outlined.success {
    color: #4caf50;
    font-size: 28px;
}

.material-symbols-outlined.error {
    color: #ff2d00;
    font-size: 28px;
}

.material-symbols-outlined.warning {
    color: #f4b400;
    font-size: 28px;
}

.sample-data {
    margin-top: 8px;
    font-size: 13px;
    color: #666;
    text-align: left;
    margin-left: 30px;
    padding-bottom: 10px;
}

.help-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: none;
}

.help-link:hover .help-text {
    text-decoration: underline;
}

.help-icon {
    font-size: 24px;
    line-height: 1;
}

.form-error {
    color: #ff2d00;
    font-size: 14px;
    margin-top: 50px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 5px;
    max-width: 500px;
    margin: 0 auto 30px auto;
    text-align: center;
}
