/*Done*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

:root {
  --border-style: 3px solid #272727;
}


body, html {
  height: 100%;
  width: 100%;
  background-color: #000000;
}

h1, h2 {
  font-weight: 600;
  color: #fff;
}

p {
  font-size: 15px;
  color: #bbb;
  opacity: 0.8;
}

a {
  text-decoration: none;
  color: #ffffff;
}


/*Login.html*/

.container {
  display: flex;
  height: 100vh;
  width: 100%;
}



.company-header {
  display: flex;
  justify-content: center;
  gap: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.company-header h1 {
  font-size: 50px;
  font-weight: 10;
  color: #ffffff;
  font-family: 'Jim Nightshade', cursive;
}

.logo-img {
  width: 50px; 
  height: 50px;
  margin-top: 5px;
  border-radius: 12px;
}

.login-box {
  border: var(--border-style);
  padding: 5px 40px 40px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.login-box h2 {
  font-size: 14px;
  margin-bottom: 30px;
  color: #cccccc;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #dddddd;
}

input {
  width: 100%;
  padding: 12px;
  border: 1px solid #555;
  border-radius: 6px;
  background-color: #000000;
  color: white;
}

.center-text {
  text-align: center;
}

.sign-in-btn {
  margin-top: 20px;
  padding: 12px;
  width: 100%;
  background-color: #ffffff;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  font-size: 20px;
  cursor: pointer;
}

.promo-section {
  flex: 1;
  background-color: #212529;
  color: white;
  padding: 60px 50px 40px 50px; /* more balanced horizontal padding */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.promo-section-info {
  margin-top: 180px;
}

.promo-section h1 {
  font-size: 32px;       /* slightly larger for impact */
  font-weight: 600;
  margin-bottom: 10px;
}

.promo-section h2 {
  font-size: 15px;
  font-weight: 300;
  margin-bottom: 50px;
  line-height: 1.6;
  color: #dddddd;
  opacity: 0.6;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 35px;
  background-color: black;
  border-radius: 12px;
  padding: 20px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-top: 4px;
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 15px;
  line-height: 1.5;
  color: #bbbbbb;
  opacity: 0.6;
}

.bank {
  margin-top: auto;
  text-align: center;
}

.bank img {
  width: 600px;        /* wider */
  height: 250px;       /* shorter */
  object-fit: cover;   /* crops excess while keeping proportions */
  border-radius: 8px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .promo-section,
  .login-section {
    flex: none;
    height: 500%;
  }
}



/*Login.html*/
-------------
.iContainer {
  display: flex;
  height: 100vh;
}

.sidebar h2 {
  margin-bottom: 30px;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar {
  background-color: #212529;
  color: #fff;
  padding: 10px;
  display: flex;
  flex-direction: column;
  padding: 0; /* remove padding so red block can span full width */
}

.company-header_main {
  background-color: #420000;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 15px 20px 20px 20px;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.company-header_main h2 {
  font-size: 35px;
  font-weight: 10;
  color: #ffffff;
  margin: 8px 0px 0px 0px;
  font-family: 'Jim Nightshade', cursive;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
}

.sidebar li {
  margin: 10px 0;
  padding: 0 0 0 25%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.sidebar li.active {
  background-color: #363d43;
  font-weight: 600;
  padding: 14px 20px;
  border-left: 4px solid #420000;
  border-radius: 8px;
  width: 100%;
  transition: all 0.3s ease;
}

.main-content {
  flex: 1;
  padding: 20px 30px 30px 30px;
  overflow-y: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 10px 20px 0px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background-color: #000;
  color: #dddddd;
}

.logout {
  background-color: #333333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.logout:hover {
  background-color: #6b6b6b;
}

.overview {
  display: flex;
  gap: 30px;
  margin-top: 30px;
}

.balance,
.savings {
  margin-top: 30px;
  padding: 20px;
  border-radius: 12px;
  border: var(--border-style)
}

.balance h2,
.savings h2 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 25px;
  font-weight: 400;
  font-style: italic;
}

.balance p, .savings p {
  font-size: larger;
  font-weight: 700;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 12px 16px;
  text-align: left;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

tr:last-child td {
  border-bottom: none;
}

.financial-section {
  margin-top: 40px;
}

.financial-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.financial-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.financial-table th,
.financial-table td {
  padding: 15px;
  text-align: left;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.financial-table th {
  background-color: #212529;
  font-weight: 600;
}

.financial-table tr:last-child td {
  border-bottom: none;
}

.financial-table .negative {
  color: red;
}

.dashboard {
  display: flex;
  flex-direction: column;
  border: var(--border-style);
  border-radius: 12px;
  overflow: hidden;
  background-color: #000;
  max-width: 1400px;
  margin: 40px auto;
}

@media (max-width: 768px) {
  .sidebar li.active {
    border-left: none;
    border-radius: 20px;
    background-color: #420000;
    color: white;
    padding: 12px 16px;
    width: fit-content;
    margin: 0 auto;
  }
}

.user-block {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background-color: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.initials {
  color: white;
  font-family: 'Instrument Serif', serif;
  font-size: 37px; 
  font-weight: 400; 
}

.user-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.full-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.email {
  color: #ccc;
  font-size: 13px;
  opacity: 0.8;
}



.transactions {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.transactions h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #333;
}



.filter {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.filter label {
  font-weight: bold;
  margin-right: 0.5rem;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transaction {
  display: grid;
  grid-template-columns: 120px 1fr 1fr 100px 120px;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f9f9f9;
  border-left: 4px solid #4CAF50;
  border-radius: 6px;
}

.transaction .amount {
  text-align: right;
  font-weight: bold;
}

.transaction .amount.negative {
  color: #d32f2f;
}

.transaction .amount.positive {
  color: #388e3c;
}


/*Done*/