/*Property reset*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*General style*/
html, body {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #f4f6fa;
    color: #333;
}

/*Menu on the top*/
.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
/*Principal part in the web page*/
main {
    flex: 1;
    margin: 20px 50px;
}

.ip-table {
    width: 100%;
    /*border-collapse: separate;*/
    border-spacing: 0;
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ip-table tr {
    border-bottom: 1px solid #eee;
}
.ip-table tr:last-child {
    border-bottom: none;
}
.ip-table td {
    padding: 12px 18px;
    font-size: 16px;
}
.ip-table .label {
    font-weight: bold;
    color: #333;
    width: 30%;
    background: #f4f6fa;
}
.ip-table .value {
    color: #555;
}


a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
}

/*Hide different part*/
.hidden {
    display: none;
}


/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}


.footer {
    justify-content: center;
    text-align: center;
    background-color: #333;
    color: white;
    padding: 30px;

}





/* Thème sombre simple */
.dark-theme body {
    background: #181a1b;
    color: #e3e3e3;
}
.dark-theme .header,
.dark-theme .ip-table {
    background: #23272a;
    color: #e3e3e3;
}
.dark-theme .ip-table .label {
    background: #23272a;
    color: #e3e3e3;
}
.dark-theme .ip-table .value {
    color: #bdbdbd;
}
.dark-theme .ip-table tr {
    border-bottom: 1px solid #333;
}
.dark-theme .footer {
    background: black;
    color: #e3e3e3;
}
.dark-theme a {
    color: #8ab4f8;
}
.dark-theme .btn-theme {
    color: #e3e3e3;
}