.peg-widget {
    max-width: 600px;
    margin: 0 auto;
    font-family: inherit;
}

.peg-form-row {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #d0d5dd;
    background: #fff;
}

.peg-input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1a1a2e;
    background: transparent;
    font-family: inherit;
}

.peg-input::placeholder {
    color: #aab0bb;
}

.peg-btn {
    padding: 14px 30px;
    background: #1e3a5f;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.peg-btn:hover {
    background: #16304f;
}

.peg-btn:disabled {
    background: #7a96b5;
    cursor: not-allowed;
}

.peg-msg {
    margin-top: 10px;
    font-size: 14px;
    padding: 0;
    min-height: 0;
    transition: all 0.2s;
}

.peg-msg.peg-success {
    padding: 10px 14px;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #6ee7b7;
    border-radius: 8px;
}

.peg-msg.peg-error {
    padding: 10px 14px;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 8px;
}
