body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    background-color: #ffffff;
    color: #333333;
}

a {
    color: #0000cc;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Top Grey Bar */
.top-bar {
    background-color: #f5f5f5;
    padding: 3px 15px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    border-bottom: 1px solid #d5d5d5;
}

.top-bar-left a, .top-bar-right a {
    color: #0000cc;
}
.top-bar-left {
    color: #0000cc;
    font-weight: bold;
    text-decoration: underline;
}
.top-bar-right {
    color: #fff;
    background-color: #aaa;
    padding: 0 5px;
}
.top-bar-right a {
    color: #fff;
    text-decoration: none;
}

/* Main Navigation Bar */
.nav-bar {
    background-color: #ffffff;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #6998DC;
}

.nav-logo {
    display: flex;
    align-items: baseline;
    margin-right: 30px;
}
.orkut-text {
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: #d11270;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: -2px;
}
.orkut-domain {
    font-family: "Trebuchet MS", Arial, sans-serif;
    color: #d11270;
    font-size: 16px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 20px;
    margin-right: auto;
    font-weight: bold;
    font-size: 13px;
}
.nav-links a.active {
    color: #d11270;
}

.nav-search {
    margin-right: 5px;
}
.nav-search input {
    border: 1px solid #a0b6d9;
    padding: 3px;
    width: 250px;
    font-size: 12px;
}

.nav-search-buttons button {
    background-color: #efefef;
    border: 1px solid #cccccc;
    font-size: 11px;
    padding: 2px 8px;
    cursor: pointer;
}

/* Main Container */
.main-container {
    width: 980px;
    margin: 15px auto;
    display: flex;
    gap: 15px;
}

.left-col {
    width: 650px;
}

.right-col {
    width: 315px;
}

/* Profile Box */
.profile-box {
    background-color: #6998DC;
    border-radius: 4px;
    padding: 10px;
    color: #ffffff;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.profile-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: bold;
}

.profile-header .edit-link {
    color: #ffffff;
    font-size: 11px;
    text-decoration: underline;
}

.profile-content {
    display: flex;
    gap: 15px;
}

.profile-pic {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border: 1px solid #ffffff;
    background-color: #ffffff;
}

.profile-details {
    flex: 1;
}

.status-box {
    background-color: #ffffff;
    border: 1px solid #c2c2c2;
    padding: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #666;
}

.post-btn {
    background-color: #efefef;
    border: 1px solid #999;
    font-size: 11px;
    padding: 2px 8px;
    cursor: pointer;
    color: #000;
}

.latest-status {
    margin-top: 5px;
    font-size: 11px;
    background-color: #5A8BD1;
    padding: 3px;
    font-style: italic;
}

.info-grid {
    margin-top: 15px;
    font-size: 11px;
    line-height: 1.8;
}

/* Profile Links */
.profile-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
    padding: 5px 0;
    font-weight: bold;
    font-size: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.profile-links a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #0000cc;
}

/* Section Box */
.section-box {
    margin-top: 20px;
}

.section-header-tabs {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #cccccc;
    padding-bottom: 5px;
    font-size: 12px;
    font-weight: bold;
}

.tab {
    color: #0000cc;
    cursor: pointer;
}
.active-tab {
    color: #000000;
}

.tab-actions {
    margin-left: auto;
    display: flex;
    gap: 5px;
}
.tab-actions button {
    background-color: #f5f5f5;
    border: 1px solid #cccccc;
    font-size: 11px;
    padding: 2px 6px;
    cursor: pointer;
}

.section-content {
    padding: 10px 0;
    line-height: 1.5;
}

/* Scrap Input */
.scrap-input-box {
    border: 1px solid #cccccc;
    padding: 5px;
    margin: 10px 0;
}

.scrap-toolbar {
    background-color: #f5f5f5;
    padding: 3px;
    border-bottom: 1px solid #cccccc;
    font-size: 11px;
    margin-bottom: 5px;
}

.scrap-textarea {
    width: 100%;
    height: 60px;
    border: 1px inset #cccccc;
    box-sizing: border-box;
}

/* Feed Item */
.feed-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    border-bottom: 1px dotted #cccccc;
    padding-bottom: 10px;
}

.feed-avatar {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.feed-content {
    flex: 1;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3px;
}

.feed-name {
    font-weight: bold;
    color: #d11270;
}

.feed-time {
    color: #888888;
    font-size: 11px;
}

.feed-text {
    margin-bottom: 10px;
}

.feed-comment-box {
    background-color: #f9f9f9;
    padding: 5px;
    border: 1px solid #e5e5e5;
}

.feed-comment-box input {
    width: calc(100% - 60px);
    border: 1px solid #cccccc;
    padding: 3px;
    font-size: 11px;
}

.small-btn {
    background-color: #efefef;
    border: 1px solid #999;
    font-size: 11px;
    padding: 2px 5px;
    cursor: pointer;
}

.comment-item {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px dashed #e5e5e5;
    align-items: flex-start;
}
.comment-item img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}
.comment-time {
    margin-left: auto;
    color: #888;
    font-size: 10px;
}

/* Right Sidebar Box */
.sidebar-box {
    border: 1px solid #84A8E5;
    background-color: #EBF2F9;
    margin-bottom: 15px;
    border-radius: 4px;
}

.sidebar-header {
    background-color: #84A8E5;
    color: #ffffff;
    font-weight: bold;
    padding: 5px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.manage-link {
    color: #ffffff;
    font-weight: normal;
    text-decoration: underline;
    font-size: 11px;
}

.sidebar-search {
    padding: 5px;
    text-align: center;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}
.sidebar-search input {
    width: 200px;
    font-size: 11px;
    border: 1px solid #cccccc;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    padding: 10px;
    background-color: #ffffff;
}

.grid-item {
    text-align: center;
}

.grid-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin-bottom: 2px;
}

.placeholder-img {
    width: 100%;
    aspect-ratio: 1;
    background-color: #eeeeee;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 2px;
}

.grid-item a {
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.ad-box {
    background-color: #ffffff;
    border: 1px solid #cccccc;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}
.ad-btn {
    background-color: #4B6E9B;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-top: 10px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
.ad-label {
    font-size: 10px;
    color: #999;
    margin-top: 5px;
}
