/*
Theme Name: Android Trading Simulator
Theme URI: https://play.google.com/store/apps/details?id=com.prent.cryptosimpro
Author: TradeSimulator Team
Author URI: https://play.google.com/store/apps/details?id=com.prent.cryptosimpro
Description: Android-first WordPress theme for the CryptoSimPro trading simulator app. Practice crypto trading risk-free with simulated copy trading and portfolio tracking.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: crypto, trading, simulator, fintech, investment
Text Domain: tradesimulator
*/

/* Basic Theme Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background-color: #4caf50;
    color: white;
    text-align: center;
    padding: 20px;
}

.container {
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1, h2 {
    color: #4caf50;
}

footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 20px;
}

/* Sidebar Random Pages Styling */
.akpp-random-pages {
    position: fixed;
    top: 100px;
    right: 0;
    width: 240px;
    background-color: #fff;
    border-left: 2px solid #4caf50;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 999;
}

.akpp-random-pages h3 {
    margin-top: 0;
    color: #4caf50;
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}

.akpp-random-pages ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.akpp-random-pages li {
    margin-bottom: 8px;
}

.akpp-random-pages a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.akpp-random-pages a:hover {
    color: #4caf50;
}

/* Responsive: hide sidebar on small devices */
@media screen and (max-width: 768px) {
    .akpp-random-pages {
        display: none;
    }
}




/* === Page Layout with Sidebar === */
.page-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  margin: 20px auto;
  width: 90%;
  max-width: 1200px;
}

.akpp-sidebar {
  width: 240px;
  position: relative;
  top: 0;
}

.akpp-widget {
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.akpp-widget h3 {
  font-size: 18px;
  margin: 0 0 12px;
  color: #4caf50;
}

.akpp-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.akpp-widget ul li {
  margin-bottom: 10px;
}

.akpp-widget ul li a {
  color: #4caf50;
  text-decoration: none;
  font-weight: 500;
}

.akpp-widget ul li a:hover {
  text-decoration: underline;
}

/* === Responsive Sidebar === */
@media (max-width: 900px) {
  .page-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .akpp-sidebar {
    width: 100%;
    margin-top: 20px;
  }
}

.right-sidebar {
  float: right;
  width: 250px;
  padding: 15px;
  background: #fff;
  border-radius: 8px;
  margin: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.widget-box {
  margin-bottom: 20px;
}

.widget-title {
  font-size: 18px;
  color: #4caf50;
  margin-bottom: 10px;
}
