.profile-wrapper {
    max-width: 1300px;
    margin: 2rem auto;
    display: flex;
    gap: 2rem;
    padding: 0 1rem;
}

.profile-sidebar {
    width: 300px;
}

.profile-card {
    background: #161b22;
    border: 1px solid #1f242b;
    border-radius: 8px;
    padding: 1.5rem;
}

.avatar-wrapper {
    display: block;
    text-align: center;
    position: relative;
}

.avatar-large {
    width: 100%;
    border-radius: 8px;
    border: 2px solid #ff7b00;
    transition: 0.2s ease;
}

.avatar-large:hover {
    transform: scale(1.02);
    box-shadow: 0 0 8px #ff7b00;
}

.profile-info {
	color: #c9d1d9;
    margin-top: 1.5rem;
    list-style: none;
    padding: 0;
}

.profile-info li {
	color: #c9d1d9;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.profile-info li a {
    color: #c9d1d9;
    text-decoration: none;
}

.profile-info i {
    color: #ff7d00 !important;
}

.orgs img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-right: 0.4rem;
}

.btn.success {
    background: #2ea043;
    border: none;
    padding: 0.6rem 1rem;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.btn-danger {
    background: #d73a49;
    border: none;
    padding: 0.6rem 1rem;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.profile-content {
    flex: 1;
}

.profile-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.profile-tabs .tab {
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    background: #161b22;
    border: 1px solid #1f242b;
    text-decoration: none;
    color: #c9d1d9;
    transition: 0.15s;
}

.profile-tabs .tab:hover {
    background: #1f242b;
    color: #ff7b00;
}

.profile-tabs .tab.active {
    background: #ff7b00;
    color: #fff;
}

.activity-block {
    background: #161b22;
    border: 1px solid #1f242b;
    border-radius: 6px;
    padding: 1rem;
}

.activity-card {
    display: flex;
    background: #161b22;
    border: 1px solid #1f242b;
    padding: 1rem;
    border-radius: 6px;
    gap: 1rem;
    align-items: flex-start;
}

.activity-avatar img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    
    box-sizing: border-box;
}

.activity-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-header {
    margin-bottom: 0.3rem;
}

.activity-user {
    color: #ff7b00;
    font-weight: 600;
    text-decoration: none;
}

.activity-user:hover {
    color: #ffaa4d;
}

.activity-action {
    margin-left: .4rem;
    color: #fff;
    opacity: .85;
}

.activity-commits {
    list-style: none;
    padding: 0;
    margin: .4rem 0 0 0;
}

.activity-commits li {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-bottom: .3rem;
}

.commit-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
}

.commit-id {
    font-family: monospace;
    color: #ff7b00;
    text-decoration: none;
}

.commit-id:hover {
    text-decoration: underline;
}

.commit-msg {
    color: #c9d1d9;
}

.commit-compare {
    color: #ff7b00;
    text-decoration: none;
}

.commit-compare:hover {
    text-decoration: underline;
}

.activity-issue {
    color: #c9d1d9;
    margin: .3rem 0;
}

.activity-time {
    margin-top: .5rem;
    font-size: .85rem;
    color: #8b949e;
    font-style: italic;
}

.activity-card a,
.repo-item a {
    color: #ff7b00;
    text-decoration: none;
}

.activity-card a:hover,
.repo-item a:hover {
    color: #ffaa4d;
    text-decoration: underline;
}

.commit-id {
    color: #ff7b00;
}

.commit-id:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
  h1 { font-size: 1.8em; }
  .logo { width: 80px; }
}

@media (max-width: 480px) {
  p { font-size: 1em; }
  .btn { width: 100%; }
}
