/* ------------------------------ */
/* RANDOM FIELDS */
/* ------------------------------ */

.random-field {
    display: flex;
    align-items: center;
    gap: 10px;
}

.random-field button {
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 10px 15px;
    font-family: "Space Mono", monospace;
    cursor: pointer;
    transition: 0.2s;
}

.random-field button:hover {
    background: #00ff00;
    color: #000;
}

.fake-box {
    border: 1px solid #00ff00;
    padding: 10px 15px;
    min-width: 150px;
    text-align: center;
    font-family: "Space Mono", monospace;
    color: #00ff00;
    background: #000;
    user-select: none;
}


/* ------------------------------ */
/* REGISTER BOX */
/* ------------------------------ */

.register-box {
    padding: 15px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    
    border: 1px solid rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.2);
}


/* ------------------------------ */
/* SUBMIT BUTTON */
/* ------------------------------ */

.submit-btn {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 12px 25px;
    font-family: "Space Mono", monospace;
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: 0.2s ease;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(0,255,0,0.2);
}

.submit-btn:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00, 0 0 30px rgba(0,255,0,0.4);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 0 8px #00ff00;
}


/* ------------------------------ */
/* POPUP FIX (CENTRAGE ABSOLU) */
/* ------------------------------ */

.popup {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.hidden {
    display: none !important;
}


/* ------------------------------ */
/* POPUP CONTENT */
/* ------------------------------ */

.popup-content {
    background: #000;
    border: 1px solid #00ff00;
    padding: 30px;
    width: 350px;
    text-align: center;
    font-family: "Space Mono", monospace;
    color: #00ff00;
    box-shadow: 0 0 20px #00ff00;
}

.popup-line {
    margin: 10px 0;
    font-size: 1.1rem;
}


/* ------------------------------ */
/* POPUP BUTTONS */
/* ------------------------------ */

.copy-btn, .close-btn {
    margin-top: 15px;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #00ff00;
    color: #00ff00;
    cursor: pointer;
    transition: 0.2s;
    font-family: "Space Mono", monospace;
}

.copy-btn:hover, .close-btn:hover {
    background: #00ff00;
    color: #000;
}

/* Champ RP */
.rp-field {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rp-field input {
    background: transparent;
    border: 1px solid #00ff00;
    padding: 10px 15px;
    color: #00ff00;
    font-family: "Space Mono", monospace;
    width: 200px;
}

.rp-field input::placeholder {
    color: #00ff00;
    opacity: 0.6;
}

/* Icône ? */
.rp-help {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-family: "Space Mono", monospace;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: help;
    position: relative;
}

/* Tooltip */
.rp-tooltip {
    display: none;
    position: absolute;
    top: -5px;
    right: 30px;
    background: #000;
    border: 1px solid #00ff00;
    padding: 10px;
    width: 220px;
    font-size: 0.8rem;
    color: #00ff00;
    font-family: "Space Mono", monospace;
    box-shadow: 0 0 10px #00ff00;
    z-index: 9999;
}

/* Affichage au survol */
.rp-help:hover .rp-tooltip {
    display: block;
}
