*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial;
}

body{
    background:#0f172a;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:40px;
}

.container{
    width:100%;
    max-width:1100px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:30px;
}

.card{
    background:#1e293b;
    border-radius:20px;
    padding:30px;
    position:relative;
    transition:0.4s;
}

.card h2{
    color:white;
    margin-bottom:25px;
}

.form-group{
    margin-bottom:18px;
}

.form-group label{
    display:block;
    color:white;
    margin-bottom:8px;
}

.form-group input{
    width:100%;
    padding:14px;
    border:none;
    border-radius:10px;
    background:#334155;
    color:white;
}

button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    font-weight:bold;
    transition:0.3s;
}

button:hover{
    transform:translateY(-2px);
}

.ping-btn{
    background:#16a34a;
    color:white;
}

.post-btn{
    background:#2563eb;
    color:white;
}

.disabled{
    opacity:0.3;
    pointer-events:none;
    filter:grayscale(100%);
}

.indicator{
    position:absolute;
    width:15px;
    height:15px;
    border-radius:50%;
    top:20px;
    right:20px;
    background:red;
    box-shadow:0 0 15px red;
}

.active .indicator{
    background:#22c55e;
    box-shadow:0 0 20px #22c55e;
}

.response-box{
    margin-top:20px;
    padding:15px;
    border-radius:10px;
    display:none;
    color:white;
}

.success{
    background:#14532d;
}

.error{
    background:#7f1d1d;
}