/*
Theme Name: Likerebate Clone Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: A custom WordPress theme that replicates basic functionality of likerebateforex.com.  This theme implements front‑end registration, login and a simple user dashboard for managing trading accounts without relying on additional plugins.  All strings are translation ready using the `likerebate` text domain.
Version: 1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: likerebate
Tags: custom‑dashboard, registration, forex, rebate

/* Basic reset */
html, body, div, span, applet, object, iframe,
 h1, h2, h3, h4, h5, h6, p, blockquote, pre,
 a, abbr, acronym, address, big, cite, code,
 del, dfn, em, img, ins, kbd, q, s, samp,
 small, strike, strong, sub, sup, tt, var,
 b, u, i, center,
 dl, dt, dd, ol, ul, li,
 fieldset, form, label, legend,
 table, caption, tbody, tfoot, thead, tr, th, td,
 article, aside, canvas, details, embed,
 figure, figcaption, footer, header, hgroup,
 menu, nav, output, ruby, section, summary,
 time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* Set base font */
body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #f7f7f7;
  color: #333;
}

/* Links */
a {
  color: #0073aa;
  text-decoration: none;
}
a:hover {
  color: #005177;
  text-decoration: underline;
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header and Footer */
header.site-header,
footer.site-footer {
  background-color: #0d47a1;
  color: #fff;
  padding: 20px;
}

header.site-header a,
footer.site-footer a {
  color: #fff;
}

/* Navigation inside dashboard */
.dashboard-nav {
  display: flex;
  flex-direction: column;
  max-width: 250px;
  margin-right: 20px;
}
.dashboard-nav a {
  display: block;
  padding: 10px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}
.dashboard-nav a:hover,
.dashboard-nav a.active {
  background-color: #0d47a1;
  color: #fff;
}

/* Dashboard content area */
.dashboard-content {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.dashboard-wrapper {
  display: flex;
  flex-direction: row;
}

/* Form styles */
form.likerebate-form {
  max-width: 500px;
  margin: 0 auto;
}
form.likerebate-form label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}
form.likerebate-form input,
form.likerebate-form select,
form.likerebate-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
}
form.likerebate-form input[type="submit"] {
  background-color: #0d47a1;
  color: #fff;
  border: none;
  margin-top: 20px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 3px;
}
form.likerebate-form input[type="submit"]:hover {
  background-color: #003c8f;
}

/* Trading account boxes */
.trading-box {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fafafa;
}
.trading-box .info {
  display: flex;
  align-items: center;
}
.trading-box .info img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 15px;
}
.trading-box .status {
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 14px;
  color: #fff;
}
.status.pending { background-color: #f9a825; }
.status.approved { background-color: #388e3c; }
.status.rejected { background-color: #d32f2f; }

/* Table for daily rebate */
.rebate-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.rebate-table th,
.rebate-table td {
  border: 1px solid #ddd;
  padding: 8px;
}
.rebate-table th {
  background-color: #0d47a1;
  color: #fff;
  text-align: left;
}
.rebate-table tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* Alert messages */
.alert {
  padding: 10px 15px;
  margin-bottom: 20px;
  border-radius: 3px;
}
.alert.error { background-color: #ffebee; color: #c62828; }
.alert.success { background-color: #e8f5e9; color: #2e7d32; }