/* styles.css – FINAL CLEAN VERSION (No Show button, perfect equal-height inputs) */

html, body {
    margin: 0; padding: 0; height: 100%;
    background: #000000 !important;
    color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: #000000;
    line-height: 1.5;
    min-height: 100vh;
    padding: 20px;
    padding-top: 65px;
    box-sizing: border-box;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* ───── LOGIN FORM ───── */
.auth-form-wrapper {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
}

/* Username & Password – EXACT SAME HEIGHT, perfectly centered */
.auth-field {
    width: 80%;
    max-width: 500px;
    height: 58px;                    /* Locked identical height */
    padding: 0 28px;                 /* Horizontal only */
    margin: 24px auto 0;
    display: flex;
    align-items: center;             /* Vertically center text */
    justify-content: flex-start;     /* Text starts from left */
    
    background: #1a1a1a;
    border: 1px solid #ff0000;
    border-radius: 28px;
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.auth-field::placeholder {
    color: #ffcccc;
    opacity: 0.9;
}

.auth-field:focus {
    background: #000000;
    border-color: #ff3333;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.25);
}

/* ───── POSTS & FEED ───── */
.feed-container { max-width: 600px; margin: 0 auto; }

.post {
    background: rgba(26,26,26,0.95);
    border-radius: 16px;
    border: 1px solid #8B0000;
    box-shadow: 0 8px 32px rgba(139,0,0,0.3);
    backdrop-filter: blur(10px);
    margin-bottom: 20px;
    overflow: hidden;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #8B0000;
}

.username { font-weight: 700; font-size: 15px; color: #fff; }

.post-content { padding: 20px; }

.post-actions {
    display: flex;
    padding: 12px 20px;
    border-top: 1px solid #8B0000;
    gap: 12px;
}

.action-btn {
    flex: 1;
    background: none;
    border: 1px solid #ff0000;
    color: #ffcccc;
    border-radius: 20px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: #8B0000;
    color: white;
}

/* Top Nav */
ul {
    list-style: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 45px;
    background: #000000;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    border-bottom: 1px solid #8B0000;
    z-index: 1000;
}

li a {
    color: #ffcccc;
    padding: 8px 16px;
    border: 1px solid #ff0000;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

li a:hover { background: #8B0000; color: white; }
.justify_right { margin-left: auto; }
