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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    width: 100%;
    overflow: hidden;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.25rem;
    text-align: center;
    position: relative;
}

.header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.back-home {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: background-color 0.2s;
    font-size: 0.9rem;
}

.back-home:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.content {
    padding: 1.25rem;
}

.section {
    margin-bottom: 1.25rem;
}

.section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
}

.info-item {
    background: #f8f9fa;
    padding: 0.65rem 0.85rem;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    transition: transform 0.2s, box-shadow 0.2s;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-label {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.15rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #333;
    font-size: 0.95rem;
    word-break: break-all;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: #667eea;
    color: white;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
}

.timestamp {
    text-align: center;
    color: #666;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
    font-size: 0.8rem;
}

.endpoint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.endpoint-card {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.endpoint-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.endpoint-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.endpoint-path {
    font-family: 'Courier New', monospace;
    background: #e9ecef;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #495057;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.endpoint-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Git History Styles */
.git-history {
    position: relative;
    padding-left: 2rem;
}

.commit-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.commit-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: #667eea;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #667eea;
}

.commit-item::after {
    content: '';
    position: absolute;
    left: -1.44rem;
    top: 1.2rem;
    bottom: -1.5rem;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.commit-item:last-child::after {
    display: none;
}

.commit-header {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.commit-hash {
    font-family: 'Courier New', monospace;
    background: #ffc107;
    color: #333;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.commit-branch {
    font-family: 'Courier New', monospace;
    background: #28a745;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.commit-message {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.commit-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    color: #666;
    font-size: 0.85rem;
}

.commit-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.commit-author-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #667eea;
}

.commit-date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
