/* Alpha Styling applied to all pages */

a:link { text-decoration: none; color: inherit; }
a:visited { text-decoration: none; color: inherit; }
a:hover { text-decoration: none; color: inherit; }

*::-webkit-scrollbar-track{
    -moz-box-shadow: 0;
    -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.9);
    box-shadow:  inset 0 0 2px rgba(0,0,0,0.9);
    border-radius: 5px;
    background-color: silver; }
*::-webkit-scrollbar{
    width: 5px;}
*::-webkit-scrollbar-thumb{
    border-radius: 5px;
    background-color: #000;
    background-image: -webkit-linear-gradient(90deg,
    transparent,
    rgb(255, 153, 0) 65%,
    transparent,
    transparent) }

a:focus,
select:focus,
textarea:focus,
button:focus,
input:focus{ outline: none; }


/* Button Styles */
button {
    letter-spacing: 0.05em;
    font-family: Georgia, sans-serif;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    padding: 5px 15px;
    cursor: pointer;
}

/* Input Styles */
select,
input[type="text"],
input[type="email"],
input[type="password"] {
    font-size: 16px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: text;
}
select { padding: 5px 10px; cursor: pointer; }
input[type="checkbox"] {
    height: 20px;
    width: 20px;
}

body, html {
    background-color: #000;
    letter-spacing: 0.05em;
    font-family: Georgia, sans-serif;
    font-size: 15px;
    color: white;
    margin: 0;
    padding: 0;
    cursor: default;
}


/* HEADER */
#header {
    background-image: linear-gradient(to right, black, #f90);
    position: fixed;
    top: 0;
    width: 100%;
    text-align: center;
    font-size: 22px;
    color: white;
    width: 100%;
    padding: 2px 0;
    border-top: 2px solid #f90;
    border-bottom: 2px solid #f90;
    z-index: 6;
}
#header_table {
    width: 100%;
}
#header_table td {
    vertical-align: middle;
    border: 0px solid #f90;
}
#header_text {
    display: inline-block;
    font-weight: bolder;
    /* background-image: linear-gradient(to right, rgba(200, 55, 60, 0.9), rgba(0, 100, 165, 0.9), white); */
    background-image: linear-gradient(to right, #f90, black, rgba(0, 0, 0, 1.0));
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
    /* color: #000; */
}

/* FOOTER */
#footer {
    background-color: #000;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
    font-size: 22px;
    color: white;
    width: 100%;
    padding: 3px 0;
    border-top: 2px solid #f90;
    border-bottom: 2px solid #f90;
    z-index: 6;
}
#footer_table {
    width: auto;
    margin: auto;
}
#footer_table td {
    vertical-align: middle;
    padding: 4px 6px;
    border: 0px solid #f90;
}

/* GLOBAL STYLED BUTTONS (Mainly used in footer.php) */
.footer-btn {
    height: 35px;
    width: 50px;
    font-size: 25px;
    font-weight: bolder;
    padding: 4px;
    border-radius: 6px;
}
.footer-image {
    height: 26px;
    width: 25px;
    border: 1px solid #000;
    border-radius: 50%;
}
#gold_buttons,
#green_buttons,
#grey_buttons,
#brown_buttons {
    font-weight: bolder;
}

#gold_buttons {
    background-color: #f90;
}
#gold_buttons:hover {
    background-color: #950;
}
#green_buttons {
    background-color: #0b0;
}
#green_buttons:hover {
    background-color: #070;
}
#grey_buttons {
    background-color: #666;
    color: #bbb;
}
#grey_buttons:hover {
    background-color: #444;
}
#brown_buttons {
    background-color: #a55;
}
#brown_buttons:hover {
    background-color: #a33;
}


#title {
    background-color: #000;
    position: fixed;
    top: 45px;
    left: 0;
    width: 100%;
    height: 31px;
    color: #ccc;
    font-size: 12px;
    text-align: center;
    font-style: italic;
    line-height: 25px;
    border-top: 2px solid #f90;
    border-bottom: 2px solid #f90;
    z-index: 5;
}

/* AUTHENTICATION */
#auth-container {
    background-color: #111;
    text-align: center;
    max-width: 450px;
    margin: 0 auto;
    padding: 12px 20px;
    border: 1px solid #444;
    border-left: 3px solid #f90;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}

#icon-root {
    width: 30px;
    margin: 0 15px;
    margin-top: 5px;
    cursor: pointer;
}


/* START Menu Display & Buttons */
#menu_main_button {
    color: black;
    font-size: 28px;
    cursor: pointer;
    z-index: 8;
}
#menu_main_display {
    display: none;
    background-color: #111;
    position: absolute;
    top: 38px;
    right: 25px;
    max-height: 450px;
    width: 160px;
    text-align: center;
    padding: 15px;
    border: 1px solid #f90;
    border-top: 3px solid rgba(255, 153, 0, 0.6);
    border-bottom: 3px solid #d70;
    border-radius: 5px;
    z-index: 7;
    overflow-y: auto;
}
#menu_nav{
    width: 100%;
    margin-top: 10px;
    /* border-top: 2px solid #f90;
    border-bottom: 2px solid #f90; */
}
#menu_site_table {
    margin: 5px 0;
    border-collapse: collapse;
}
#menu_nav_button,
#terms_button {
    background-color: #ccc;
    width: 135px;
    font-weight: bolder;
    font-size: 14px;
    margin: 2px 5px;
    padding: 5px 0;
    border: 2px solid #f90;
    cursor: pointer;
}
#terms_button {
    background-color: #f90;
    margin: 0px 4px;
    border-color: #831;
}
#menu_nav_button:hover,
#terms_button:hover {
    opacity: 0.65;
    border-color: limegreen;
}
/* END Menu Display & Buttons */

#terms_display {
    border: 1px solid red;
}
#terms-header {
    text-decoration: underline;
}
#terms-content {
    text-align: left;
    margin-left: 15px;
}
#icon-back {
    width: 100%;
    color: Limegreen;
    font-size:22px;
    margin: 5px;
    cursor: pointer;
}

#page_display {
    background-color: #2a2a2a;
    height: auto;
    height: 70vh;
    /* max-width: 900px; */
    max-width: 98vw;
    margin: 80px auto 35px auto;
    padding: 10px;
    border: 1px solid #f90;
    flex: 1;
    overflow-y: auto;
}


/* Default Landing Page */
#landing_button {
    background-color: #ff9900;
    width: 85%;
    max-width: 235px;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    margin: 3px;
    padding: 10px 22px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#landing_login_button {
    background-color: transparent;
    width: 85%;
    max-width: 235px;
    color: #ff9900;
    font-size: 15px;
    font-weight: bold;
    margin: 3px;
    padding: 10px 22px;
    border: 1px solid #ff9900;
    border-radius: 5px;
    cursor: pointer;
}
#landing_register_button {
    background-color: #ff9900;
    width: 85%;
    max-width: 235px;
    color: #000;
    font-size: 15px;
    font-weight: bold;
    margin: 3px;
    padding: 10px 22px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}



/* Attention Cards */
.card-container {
    max-width: 600px;
    margin: 0 auto;
}
/* Attention Cards Display */
.card-post {
    background-color: #111;
    margin-bottom: 10px;
    padding: 12px 20px;
    border: 1px solid #444;
    border-left: 3px solid #f90;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}
.card-post:hover {
    border-color: #777;
    border-left-color: #c60;
}
.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
}
.card-author {
    font-weight: bold;
    color: #f90;
    text-decoration: none;
}
.card-author:hover {
    text-decoration: underline;
}
.card-timestamp {
    color: #777;
    font-size: 12px;
}
.card-media {
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid #333;
}
.card-image,
.card-video {
    max-width: 25vh;
    border-radius: 8px;
}
.card-content {
    text-align: left;
    color: #eee;
    font-size: 15px;
    line-height: 1.5;
    margin: 10px 0;
    padding: 15px 0;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    white-space: pre-line;
    word-break: break-word; /* Prevents long text from breaking layout */
}
/* Attention Cards Actions Bar */
.card-actions {
    display: flex;
    gap: 15px;
    padding: 5px 0;
}
.card-action-btn {
    background: transparent;
    border: none;
    color: #aaaaaa;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.card-action-btn:hover {
    color: #ff9900;
    background-color: #1a1a1a;
}



/* Profile View */
.profile-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 10px 5px;
    border: 0px solid #555;
}
/* Profile Header & Banner Card */
.profile-card {
    background-color: #111111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin: 5px auto;
    padding: 20px;
    border: 1px solid #222;
    border-top: 3px solid #ff9900;
    border-radius: 8px;
}
.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #222;
    border-radius: 8px;
}
.profile-avatar {
    display: flex;
    background-color: #222222;
    height: 80px;
    width: 80px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: #ff9900;
    font-size: 36px;
    border: 2px solid #ff9900;
    border-radius: 50%;
}
/* Profile Info */
.profile-info {
    flex-grow: 1;
}
.profile-handle,
.profile-display-name,
.profile-tagline {
    line-height: 1.3;
    font-size: 14px;
    margin: 5px 0;
    border: 0px solid lightblue;
}
.profile-handle {
    color: #ff9900;
}
.profile-display-name {
    color: #ffffff;
    font-size: 22px;
    letter-spacing: 0.05em;
}
.profile-tagline {
    color: #cccccc;
}
.profile-bio,
.profile-address,
.profile-email,
.profile-phone,
.profile-creation-date {
    color: #777;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12px;
    padding: 10px 0;
    padding-bottom: 8px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.profile-bio table td:first-child,
.profile-address table td:first-child,
.profile-email table td:first-child,
.profile-phone table td:first-child,
.profile-creation-date table td:first-child {
    width: 35px;
    text-align: center;
    padding-right: 10px;
}
.profile-bio {
    width: 85%;
    line-height:30px;
    font-size: 16px;
}
#profile-bio-text {
    color: #fff;
}
#profile-bio-icon {
    font-size:20px;
    color: #f90;
    padding: 0 5px;
}
/* Profile Stats Bar */
.profile-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 15px;
    padding: 12px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
.stat-item {
    width: 50%;
    text-align: center;
}
.stat-value {
    display: block;
    color: #ff9900;
    font-size: 18px;
    font-weight: bold;
    border: 0px solid #fff;
}
.stat-label {
    color: #888888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 0px solid #fff;
}
/* Edit Profile Action Button */
.profile-actions {
    padding: 10px;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}
#profile-action-buttons {
    background-color: #f90;
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin: 3px;
    padding: 5px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-profile-btn {
    background-color: transparent;
    color: #ff9900;
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-profile-btn:hover {
    background-color: #666;
    color: #000000;
}
/* Profile Content Tabs */
.profile-sub-navigation {
    margin: 20px auto;
    border: 0px solid limegreen;
}
.profile-tabs {
    display: flex;
    margin: 10px auto;
    border-bottom: 1px solid #555555;
}

.profile-tab {
    background: transparent;
    width: 33%;
    color: #aaaaaa;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.profile-tab.active,
.profile-tab:hover {
    color: #ff9900;
    border-bottom-color: #ff9900;
}

/* Responsive Scaling */
@media (max-width: 480px) {
    .profile-header {
    flex-direction: column;
    text-align: center;
    }

    .profile-actions {
        justify-content: center;
    }

    .profile-stats {
        gap: 10px;
    }

}



/* Post Creation */
.feed-container {
    max-width: 600px;
    margin: 0 auto;
}
.post-composer {
    background-color: #111111;
    border: 1px solid #ff9900;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(255, 153, 0, 0.1);
}
.post-composer h3 {
    margin: 0 0 10px 0;
    color: #ff9900;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.post-composer textarea {
    width: 100%;
    height: 80px;
    box-sizing: border-box;
    background-color: #000000;
    color: #ffffff;
    border: 1px solid #222;
    border-radius: 5px;
    padding: 10px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s ease;
}
.post-composer textarea:focus {
    border-color: #ff9900;
    outline: none;
}
.post-composer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}
.post-composer-actions button {
    background-color: #ff9900;
    color: #000000;
    font-weight: bold;
    font-size: 14px;
    padding: 10px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.post-composer-actions button:hover {
    background-color: #119911;
}
#post-composer-media-icon {
    background-color: #ff9900;
    color: #000000;
    font-size: 30px;
    font-weight: bold;
    margin-right: 5px;
    padding: 1px 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
#post-composer-media-icon:hover {
    background-color: #119911;
}



/* Feed Post Display */
.feed-post {
    background-color: #111;
    margin-bottom: 10px;
    padding: 12px 20px;
    border: 1px solid #444;
    border-left: 3px solid #f90;
    border-radius: 6px;
    transition: border-color 0.2s ease;
}
.feed-post:hover {
    border-color: #777;
    border-left-color: #c60;
}
.post-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
}
.post-author {
    font-weight: bold;
    color: #f90;
    text-decoration: none;
}
.post-author:hover {
    text-decoration: underline;
}
.post-timestamp {
    color: #777;
    font-size: 12px;
}
.post-media {
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid #333;
}
.post-image,
.post-video {
    max-width: 25vh;
    border-radius: 8px;
}
.post-content {
    text-align: left;
    color: #eee;
    font-size: 15px;
    line-height: 1.5;
    margin: 10px 0;
    padding: 15px 0;
    border-top: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    white-space: pre-line;
    word-break: break-word; /* Prevents long text from breaking layout */
}
/* Feed Post Actions Bar */
.post-actions {
    display: flex;
    gap: 15px;
    padding: 5px 0;
}
.post-action-btn {
    background: transparent;
    border: none;
    color: #aaaaaa;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.post-action-btn:hover {
    color: #ff9900;
    background-color: #1a1a1a;
}
.post-action-btn i { font-size: 16px; }
/* Responsive Scaling */
@media (max-width: 480px) {
    .feed-container {
        padding: 5px 0;
    }
    .feed-post, .post-composer {
        border-radius: 4px;
        padding: 12px;
    }
}

.card-action-btn.liked .ion-heart {
    color: #ff0000;
}











