* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

header {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

h1 {
    color: #2c3e50;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0px;
    margin-right: 0px;
    width: 800px;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #95a5a6;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background-color: #2ecc71;
    animation: pulse 2s infinite;
}

.status-text {
    color: #7f8c8d;
    font-size: 14px;
}

#webhook-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-left: 10px;
    padding-right: 10px;
}

.webhook-entry {
    background-color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 860px;
}

.webhook-entry:hover {
    transform: translateY(-1px);
}

.webhook-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 4px;
    min-height: 32px;
    padding-left: 12px;
    padding-right: 12px;
}

.webhook-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    min-width: 120px;
}

.webhook-status {
    font-size: 1.08em;
    font-weight: 500;
    margin-left: 0;
    display: block;
    text-align: right;
    margin-bottom: 0;
    font-variant-caps: small-caps;
    font-variant: small-caps;
    text-transform: lowercase;
    letter-spacing: 0.04em;
}

.webhook-timestamp {
    color: #95a5a6;
    font-size: 13px;
    margin-left: 0;
    text-align: right;
    margin-top: 2px;
}

.webhook-content {
    background-color: #f8f9fa;
    padding: 8px 10px;
    border-radius: 4px;
    overflow-x: auto;
    font-size: 14px;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* JSON syntax highlighting */
.json-key {
    color: #2c3e50;
    font-weight: bold;
}
.json-string {
    color: #27ae60;
}
.json-number {
    color: #2980b9;
}
.json-boolean {
    color: #e67e22;
    font-weight: bold;
}
.json-null {
    color: #8e44ad;
    font-style: italic;
}

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    width: 100%;
}

.clear-btn {
    position: static;
    margin-left: 16px;
    background: linear-gradient(90deg, #2ecc71 0%, #27ae60 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(46,204,113,0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    z-index: 10;
}
.clear-btn:hover {
    background: linear-gradient(90deg, #27ae60 0%, #219150 100%);
    box-shadow: 0 4px 16px rgba(46,204,113,0.15);
    transform: translateY(-2px) scale(1.03);
}

.webhook-number {
    font-size: 2.2em;
    font-weight: 500;
    color: #e67e22;
    margin-left: 24px;
    align-self: flex-end;
    opacity: 0.18;
    letter-spacing: 0px;
}

.accordion-header {
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
    padding-left: 10px;
    padding-right: 10px;
}
.accordion-header:hover {
    background: #f3f3f3;
}
.accordion-content {
    transition: max-height 0.2s ease;
    overflow: hidden;
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 10px;
}
.webhook-entry.open .accordion-header {
    background: #f8f9fa;
}
.webhook-entry.open .webhook-number {
    opacity: 0.35;
}
.webhook-summary {
    font-size: 1.05em;
    font-weight: 400;
    color: #2c3e50;
    margin-right: 18px;
    letter-spacing: 0px;
    flex: 1 1 auto;
    text-align: left;
    font-weight: 400 !important;
}
.webhook-status.status-started {
    color: #888;
}
.webhook-status.status-succeeded,
.webhook-status.status-success {
    color: #27ae60;
} 