body {
    font-family: Arial, sans-serif;
}

.logo {
    width: 200px;
    margin-bottom: 20px;
}

.reference {
    font-size: x-small;
}/* Tooltip container (icon wrapper) */
#txForm {
    max-width: 500px;
}

/* Force vertical stacking */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;          /* makes label full-width */
    margin-bottom: 6px;
    font-weight: 500;
}

/* Force input BELOW label */
.form-group input,
.form-group select {
    display: block;
    width: 300px;
    padding: 8px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

/* Checkbox special case */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group label {
    display: inline;
    margin-bottom: 0;
}

.checkbox-group input {
    width: auto;
}


/* Container */
.info-tooltip {
    position: relative;
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
    color: #0d6efd;
    font-size: 14px;
}

/* Hidden by default */
.info-tooltip .tooltip-text {
    position: absolute;
    bottom: 140%;
    left: 0;                 /* align to icon */
    transform: none;         /* remove centering */

    background-color: #222;
    color: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 13px;

    max-width: 500px;        /* prevents huge tooltips */
    width: max-content;
    white-space: normal;     /* allow wrapping */
    word-wrap: break-word;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 1000;

    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
}


/* Arrow */
.info-tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #222 transparent transparent transparent;
}

/* Show only on hover */
.info-tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

