body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f0f2f5;
    margin: 0;
}

header {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.user-panel a {
    margin-left: 1rem;
    color: #555;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
}

.form-card {
    background: #fff;
    width: 100%;
    max-width: 500px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    color: #333;
}

.form-card input,
.form-card textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    resize: none;
}

.form-card button {
    padding: 0.8rem;
    border: none;
    border-radius: 8px;

    color: #333;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.form-card button:hover {
    background: #0056b3;
}

.oauth-buttons a {
    display: block;
    text-align: center;
    padding: 0.8rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.oauth-google {
    background: #db4437;
}

.oauth-google:hover {
    background: #c33d2e;
}

.oauth-facebook {
    background: #4267B2;
}

.oauth-facebook:hover {
    background: #375899;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.post-content {
    white-space: pre-wrap;
}
.minimal-btn {
    background: none;
    border: 1px solid #7b3fe4;
    color: #7b3fe4;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}


.text-purple {
    color: #7b3fe4;
}

.border-purple {
    border-color: #7b3fe4 !important;
}

.btn-purple {
    background-color: #7b3fe4;
    border: none;
    color: #fff;
    transition: background 0.2s ease, transform 0.1s ease;
}
.minimal-btn:hover {
    background-color: #7b3fe4;
    color: #fff;
}

.minimal-btn:active {
    transform: scale(0.95);
}

.btn-purple:hover {
    background-color: #6c2fd3;
    transform: translateY(-1px);
}
.profile-header img {
    border: 2px solid #7b3fe4;
}

.stat h4 {
    color: #7b3fe4;
    margin-bottom: 0.25rem;
}

.minimal-btn {
    background: none;
    border: 1px solid #7b3fe4;
    color: #7b3fe4;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}
.minimal-btn:hover {
    background-color: #7b3fe4;
    color: #fff;
}
.minimal-btn:active {
    transform: scale(0.95);
}

@media(max-width: 480px) {
    main {
        padding: 1rem;
    }

    .form-card {
        padding: 1rem;
    }
}

