.form-group label {
    text-align: left;
}

.results {
    margin-top: 20px;
}

.table-container {
    overflow-x: auto;
}

.results table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.results th,
.results td {
    border: 2px solid var(--background-color);
    padding: 8px;
    text-align: left;
}

.results th {
    background-color: var(--accent-color);
    color: var(--accent-font-color);
}

.results tr:nth-child(odd) {
    background-color: var(--form-border-background-color);
}

.results tr:nth-child(even) {
    background-color: var(--form-background-color);
}

.results .action-btn {
    cursor: pointer;
    color: var(--accent-color);
    text-decoration: none;
}

.results .action-btn:hover {
    cursor: pointer;
    color: red;
    text-decoration: none;
}

@media (max-width: 768px) {
    .results th:nth-child(4),
    .results td:nth-child(4),
    .results th:nth-child(5),
    .results td:nth-child(5),
    .results th:nth-child(6),
    .results td:nth-child(6),
    .results th:nth-child(8),
    .results td:nth-child(8),
    .results th:nth-child(9),
    .results td:nth-child(9),
    .results th:nth-child(10),
    .results td:nth-child(10),
    .results th:nth-child(11),
    .results td:nth-child(11) {
        display: none;
    }
}

/* Flexbox for form elements on larger screens */
#subnetForm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#subnetForm .form-group {
    flex: 1;
    min-width: 200px;
    margin-right: 10px;
}

#subnetForm button {

    cursor: pointer;

}

/* Media query for mobile devices */
@media (max-width: 768px) {
    #subnetForm {
        flex-direction: column;
    }

    #subnetForm .form-group {
        margin-right: 0;
        margin-bottom: 20px;
    }

    #subnetForm button {
        margin-top: 0;
    }
}


/* Public IP Address */

#publicIp {
    text-align: left;
}

#publicIpValue {
    display: inline-block;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

#copyConfirmation {
    display: none;
    color: var(--accent-color);
    padding: 10px;
    border-radius: 5px;
    margin-top: 20px;
}


#copyIpIcon {
    cursor: pointer;

}

#copyIpIcon:hover {
    color: var(--accent-color);
}