body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    margin: 0;
    padding: 20px;
    color: #333;
    /*transition: background-color 0.3s, color 0.3s;*/
}

body.dark-mode {
    background-color: #1a1a1a;
    color: #e0e0e0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: background-color 0.3s;
}

body.dark-mode .container {
    background-color: #2d2d2d;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 32px;
    font-weight: 600;
    transition: color 0.2s;
}

body.dark-mode h1 {
    color: #b0b0b0;
}

.info-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 12px;
    padding-left: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #3498db;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

body.dark-mode .info-card {
    background-color: #3c3c3c;
    border-left-color: #3498db;
}

.info-card strong {
    color: #2c3e50;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
    transition: color 0.2s;
}

body.dark-mode .info-card strong {
    color: #b0b0b0;
}

.info-card span {
    color: #555;
    font-size: 16px;
    flex: 1;
    margin-right: 10px;
    transition: color 0.2s;
}

body.dark-mode .info-card span {
    color: #e0e0e0;
}

.copy-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: #005994;
}

.copy-btn.copied {
    background-color: #2ecc71 !important;
}

body.dark-mode .copy-btn {
    background-color: #3498db;
}

body.dark-mode .copy-btn:hover {
    background-color: #005994;
}

body.dark-mode copy-btn.copied {
    background-color: #2ecc71 !important;
}

.footer {
    text-align: center;
    margin-top: 30px;
    color: #95a5a6;
    font-size: 14px;
    transition: color 0.2s;
}

body.dark-mode .footer {
    color: #9c9c9c;
}

.toggle-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

body.dark-mode .toggle-btn {
    background-color: #3498db;
}

.toggle-btn i {
    font-size: 16px;
}

.ip-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ip-form input[type="text"] {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.ip-form input[type="text"]:focus {
    outline: none;
    border-color: #3498db;
}

.ip-form button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.ip-form button:hover {
    background-color: #005994;
}

body.dark-mode .ip-form input[type="text"] {
    background-color: #3c3c3c;
    border-color: #555;
    color: #e0e0e0;
}

body.dark-mode .ip-form input[type="text"]:focus {
    border-color: #3498db;
}

body.dark-mode .ip-form button {
    background-color: #3498db;
}

body.dark-mode .ip-form button:hover {
    background-color: #005994;
}