body {
    background-color: #36393f;
    color: #dcddde;
    font-family: 'Whitney', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 20px;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2f3136;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

h1, h2, h3, h4 {
    color: #ffffff;
    margin-top: 0;
    border-bottom: 1px solid #40444b;
    padding-bottom: 10px;
}

h4 {
    border-bottom: none;
    padding-bottom: 5px;
    margin-bottom: 5px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #b9bbbe;
    font-size: 14px;
    text-transform: uppercase;
}

input[type="text"],
input[type="url"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #202225;
    border-radius: 3px;
    background-color: #40444b;
    color: #dcddde;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="url"]:focus,
textarea:focus {
    outline: none;
    border-color: #7289da;
}

input[type="color"] {
    padding: 0;
    border: 1px solid #202225;
    border-radius: 3px;
    background-color: #40444b;
    width: 44px;
    height: 44px;
    vertical-align: middle;
    cursor: pointer;
}

hr {
    border: none;
    border-top: 1px solid #40444b;
    margin: 30px 0;
}

.actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    background-color: #7289da;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
}

button:hover {
    background-color: #677bc4;
}

button:disabled {
    background-color: #525e99;
    cursor: not-allowed;
}

.input-with-button {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-with-button input {
    flex-grow: 1;
    width: auto;
}

#generate-test-webhook-btn {
    padding: 0 15px;
    height: 44px;
    box-sizing: border-box;
    flex-shrink: 0;
}

#generate-test-webhook-btn,
#test-btn {
    background-color: #4f545c;
}

#test-btn:disabled,
#generate-test-webhook-btn:disabled {
     background-color: #40444b;
     cursor: not-allowed;
}

#generate-test-webhook-btn:hover:not(:disabled),
#test-btn:hover:not(:disabled) {
    background-color: #5d626a;
}

#code-output {
    margin-top: 20px;
    background-color: #202225;
    padding: 15px;
    border-radius: 5px;
}

#code-output.hidden {
    display: none;
}

.code-container {
    margin-bottom: 15px;
}

.code-container pre {
    background-color: #2b2d31;
    padding: 10px;
    border-radius: 5px;
    white-space: pre-wrap;
    word-break: break-all;
    font-family: Consolas, "Courier New", monospace;
}

.code-container code {
    color: #b9bbbe;
}

#status-message {
    margin-top: 15px;
    padding: 10px 15px;
    border-radius: 5px;
    display: none;
    font-weight: 500;
}

#status-message.success {
    background-color: #43b581;
    color: white;
    display: block;
}

#status-message.error {
    background-color: #f04747;
    color: white;
    display: block;
}

#status-message a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

#status-message a:hover {
    text-decoration: none;
}