/* 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;
    border-radius: 100%;
}

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: 10;
}
#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%;
    width: 100%;
    padding: 0;
    border-top: 1px solid #f90;
    border-bottom: 1px solid #f90;
    z-index: 10;
}
#footer_table {
    width: 100%;
    margin: 0 auto;
}
#footer_table td {
    vertical-align: middle;
    padding: 0px;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
}


/* GLOBAL STYLED BUTTONS (Mainly used in footer.php) */
.footer-btn {
    height: 40px;
    width: 100%;
    font-size: 28px;
    font-weight: bolder;
    padding: 2px 0;
    border: 1px solid #0b0;
    border-radius: 0px;
}
#create_post__button,
#gold_buttons,
#green_buttons,
#grey_buttons,
#brown_buttons { font-weight: bolder; }

#create_post__button {
    background-color: #3a3;
    border:1px solid #f90;
}
#create_post__button:hover {
    background-color: #383;
}
#gold_buttons {
    background-color: #f90;
    border: 1px solid #f90;
}
#gold_buttons:hover {
    background-color: #d70;
}
#green_buttons {
    background-color: #0b0;
    border: 1px solid #0b0;
}
#green_buttons:hover {
    background-color: #070;
}
#grey_buttons {
    background-color: #666;
    border: 1px solid #555;
    color: #bbb;
}
#grey_buttons:hover {
    background-color: #555;
}
#brown_buttons {
    background-color: #a55;
    border: 1px solid #f00
}
#brown_buttons:hover {
    background-color: #a33;
}


.profile-avatar-mini {
    background-color: #222;
    height: 30px;
    width: 30px;
    color: #ff9900;
    font-size: 50px;
    margin: 0;
    padding: 0;
    border: 2px solid #f90;
    border-radius: 50%;
}


#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;
}


/* Main Page Display */
#page_display {
    background-color: #222;
    height: auto;
    max-height: 80dvh;
    /* max-width: 900px; */
    max-width: 98vw;
    margin: 63px auto 35px auto;
    padding: 15px 10px;
    border: 1px solid #f90;
    flex: 1;
    overflow-y: auto;
    animation: flipIn 0.5s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}


/* 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-content {
    text-align: left;
    color: #eee;
    font-size: 15px;
    line-height: 1.5;
    padding: 10px 0;
    border-top: 1px solid #333;
    word-break: break-word; /* Prevents long text from breaking layout */
}
.card-media {
    padding: 5px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.card-image,
.card-video {
    max-width: 25vh;
    border-radius: 8px;
}


/* 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;
}



/* Exit animation class added via JS on click */
/* #page_display.flip-out {
    animation: flipOut 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) backwards;
}
@keyframes flipIn {
    0% {
        opacity: 0;
        transform: scale(0.95) rotateY(-90deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}
@keyframes flipOut {
    0% {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.95) rotateY(90deg);
    }
} */











