﻿

.form-group:has(.group-caption) {
    padding-top: 26px;
}

.group-caption {
    position: absolute;
    top: 0px;
    font-weight: bold;
}

.products-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-top: 8px;
}

.product-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    position: relative;
}

.product-name {
    font-size: 1rem;
    color: #444;
    cursor: default;
}

.help-icon::before {
    font-family: "FontAwesome";
    content: "\f059";
    color: #8b94a3;
    cursor: help;
    margin-left: 2px;
    position: relative;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    color: rgb(0, 0, 0);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    width: 260px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 14px;
    pointer-events: none;
    z-index: 9999;
}

    .tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 10px 10px 0;
        border-style: solid;
        border-color: #fff transparent transparent;
    }

.product-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

.input-group {
    display: flex;
    gap: 15px;
}

.input-field {
    flex: 1;
    position: relative;
}

.provide-domain {
    margin: 10px 0;
}

    .provide-domain > label {
        cursor: pointer;
    }

.terms-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 15px;
    color: #334155;
    line-height: 1.5;
}

    .terms-label a {
        color: #2563eb;
        text-decoration: none;
        font-weight: 600;
    }

        .terms-label a:hover {
            text-decoration: underline;
        }

.submit-container {
    margin-top: 35px;
    position: relative;
}

.submit-btn1 {
/*    width: 100%;*/
    padding: 15px;
    background: linear-gradient(to right, #2a5298, #3a62a8);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.25);
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
}

#lenmsg {
    text-align: right;
    font-size: 14px;
    color: #7f8c8d;
    margin-top: 5px;
    transition: color 0.3s;
    position: absolute;
    right: 0;
}

    #lenmsg.warning {
        color: #e67e22;
    }

    #lenmsg.error {
        color: #e74c3c;
    }

.dependencies {
    font-size: 0.9rem;
    color: #e67e22;
    margin-top: 5px;
    padding-left: 28px;
    display: none;
}

.footer {
    text-align: center;
    padding: 20px;
    background: #f8fafd;
    color: #666;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    border-radius: 0 0 12px 12px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        gap: 15px;
    }

    .content {
        padding: 25px 20px;
    }

    .header {
        padding: 20px;
    }

        .header h1 {
            font-size: 1.8rem;
        }

    .products-container {
        flex-direction: column;
        gap: 12px;
    }

    .captcha-container {
        flex-direction: column;
        gap: 12px;
    }

    .captcha-image {
        width: 100%;
        height: 50px;
    }
}
