.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.controls {
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
    text-align: center;
}

.buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
}

button:hover {
    background-color: #45a049;
}

#ggb-element {
    width: 800px;
    height: 600px;
}

.curve-selector {
    margin: 20px 0;
}

.curve-selector select {
    padding: 8px;
    font-size: 16px;
    width: 300px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #fff;
}

.curve-selector select:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.curve-params {
    margin: 20px 0;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s ease;
}

#curveInfo {
    text-align: left;
    margin: 10px 0;
}

#curveInfo p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
}

/* 添加曲线特定的颜色 */
.curve-params[data-curve="secp256k1"] {
    border-left-color: #FF6B6B;
}

.curve-params[data-curve="secp256r1"] {
    border-left-color: #4ECDC4;
}

.curve-params[data-curve="ed25519"] {
    border-left-color: #45B7D1;
}

.curve-params[data-curve="curve25519"] {
    border-left-color: #96CEB4;
}

.curve-params[data-curve="bn254"] {
    border-left-color: #FFBE0B;
}

.curve-params[data-curve="bls12_381"] {
    border-left-color: #9B5DE5;
} 