{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

* {
    font-family: 'Segoe UI', sans-serif;
}

.app-content {
    height: calc(100vh - 60px);
    overflow-y: auto;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

body {
    background-image: url('/images/empty-boat-at-sea.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    padding-top: 53px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    background-color: #2c3e50;
    padding: 1rem 2rem;
    color: white;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin-left: 0.5rem;
}

.navbar a:hover {
    text-decoration: underline;
}

.localzero-header {
    font-family: 'Lucida Sans Unicode', Lucida Grande;
    font-size: 4rem;
    color: #f9e2ff;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 24px;
    letter-spacing: 6px;
    font-weight: bold;
    text-shadow: 0px 0px 10px #ff01e0;
}

.feed-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.chat-message {
    margin-bottom: 15px;
    padding: 10px;
    background: #f1f1f1;
    border-radius: 6px;
}

.messages-layout {
    display: flex;
    height: calc(100vh - 60px);
    overflow: hidden;
}

.dm-container {
    width: 30%;
    border-right: 1px solid #ddd;
    overflow-y: scroll;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
}

.chat-container {
    width: 70%;
    overflow-y: scroll;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
}


.dm-container::-webkit-scrollbar,
.chat-container::-webkit-scrollbar {
    width: 8px;
}

.dm-container::-webkit-scrollbar-thumb,
.chat-container::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.dm-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.dm-item:hover {
    background-color: #f5f5f5;
}

.like-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
}


.like-button:hover{

    tansform: scale(1.1);
}

.post-footer {
    text-align: right;
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.5rem;
}

.feed-post {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1rem;
    color: black;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feed-post-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #000000;
}

.feed-post-content {
    font-size: 1rem;
    line-height: 1.4;
    color: #000000;
}

.feed-post img {
    max-width: 100%;
    border-radius: 8px;
    margin-top: 0.5rem;
}

.feed-actions {
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.feed-actions button {
    background-color: #ffffffcc;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.feed-actions button:hover {
    background-color: white;
}

.likes-count {
    font-size: 0.9rem;
    color: #222;
}

.form-container,
.create-initiative-container {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    padding: 2rem;
    max-width: 350px;
    margin: 2rem auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.form-container h1,
.create-initiative-container h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: black;
}

.input-group,
.create-initiative-container .input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.input-group label,
.create-initiative-container .input-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: black;
}

.input-group input,
.create-initiative-container .input-group input,
.create-initiative-container .input-group textarea,
textarea {
    padding: 0.5rem;
    border: none;
    border-radius: 8px;
    outline: none;
    resize: vertical;
}

button {
    width: 100%;
    padding: 0.6rem;
    border: none;
    border-radius: 8px;
    background-color: #ffffffcc;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: white;
}

.profile-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    padding: 0 2rem;
}

.profile-card {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem 3rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 350px;
    color: #000000;
}


.profile-card h1 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #000000;
}

.profile-card p {
    font-size: 1rem;
    margin: 0.5rem 0;
    color: #000000;
}

.profile-card strong {
    color: #222;
}

.user-posts {
    flex: 1;
    max-width: 800px;
    min-width: 300px;
}

.user-posts h2 {
    color: #222;
    margin-bottom: 1rem;
}

.post-ball {
    border-radius: 15px;
    background-color: rgba(141, 68, 68, 0.6);
    padding: 4px 10px;
    font-size: 0.9em;
}

.initiative-islands {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.card-box {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    color: black;
    min-width: 300px;
}

.initiative-left-island {
    flex: 2;
}

.initiative-right-island {
    flex: 1;
    align-self: flex-start;
}

.participant-card {
    border-top: 1px solid currentColor;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.feed-wrapper-container{
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
}
.initiative-info-row {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.initiative-details,
.initiative-participants {
    flex: 1;
    min-width: 250px;
}
.post-form-wrapper{
    align-self: flex-start;
    max-width: 400px;
    width: 100%;
    height: auto;
}

#register-link {
    margin-top: 1.5em;
    text-align: center;
    font-size: 1.05em;
    color: #555;
    background: #f0f4f8;
    padding: 0.75em 1em;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
#register-link a {
    color: #a731ce;
    font-weight: bold;
    text-decoration: underline;
}
#register-link a:hover {
    color: #e38dff;
}