body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #1b57b0;
    color: #1a99a07c;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h2, h3 {
    color: white;
    margin-bottom: 20px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="file"],
form input[type="number"],
form button {
    display: block;
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}
form button {
    background: #2980b9;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

form button:hover {
    background: #3498db;
}

a {
    color: #3498db;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

a:hover {
    text-decoration: underline;
}

img {
    border-radius: 50%;
    margin: 10px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #ecf0f1;
}

button {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    padding: 12px 20px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #2ecc71, #3498db);
}


        h1, h2 {
            text-align: center;
            margin-bottom: 30px;
            color: #f0f0f0;
        }
        .user-info {
            text-align: center;
            margin-bottom: 40px;
        }
        .user-info p {
            margin: 6px 0;
        }

        /* Investment Cards */
        .plans {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 25px;
        }

        .card {
            background: #1f2937;
            border-radius: 20px;
            box-shadow: 0 15px 35px rgba(0,0,0,0.5);
            padding: none;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 25px 50px rgba(0,0,0,0.6);
        }

        .card img {
            width: 100%;
            max-width: 180px;
            margin-bottom: 15px;
            border-radius: 10px;
        }

        .card h3 {
            margin-bottom: 10px;
            color: #00e6e6;
        }

        .card p {
            font-size: 18px;
            margin-bottom: 15px;
        }

        .card form button {
            background: linear-gradient(to right, #00c6ff, #0072ff);
            border: none;
            padding: 10px 20px;
            color: white;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .card form button:hover {
            background: linear-gradient(to right, #0072ff, #00c6ff);
        }

        /* Responsive Tables */
        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 50px;
            background: #111827;
            border-radius: 12px;
            overflow: hidden;
        }

        th, td {
            padding: 14px;
            text-align: left;
            border-bottom: 1px solid #444;
        }

        th {
            background: #0f172a;
            color: #00e6e6;
        }

        tr:hover {
            background: #1e293b;
        }

        @media (max-width: 600px) {
            .card img {
                max-width: 100px;
            }
        }

        .upload-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(145deg, #0ff, #0ae);
  color: #000;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-file-upload:hover {
  background: linear-gradient(145deg, #00d2ff, #3a7bd5);
  color: #fff;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.upload-btn {
  background: linear-gradient(145deg, #0ae, #0ff);
  color: #000;
  font-weight: bold;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.3);
  transition: background 0.3s ease;
}

.upload-btn:hover {
  background: linear-gradient(145deg, #3a7bd5, #00d2ff);
  color: #fff;
}
body.auth-body {
  background: linear-gradient(120deg, #05045a, #1b0246, #130551);
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}

.auth-container {
  background: #1e293b;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.2);
  width: 350px;
  text-align: center;
  color: #ffffff;
}

.auth-container h2 {
  margin-bottom: 20px;
  color: rgb(16, 119, 122);
}

.auth-form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  background: #f0f0f0;
}

.auth-form button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #170333, #620b9132);
  border: none;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.auth-form button:hover {
  background: linear-gradient(135deg, #d53ab6, #0a61bd);
}

.auth-form a {
  color: #0ff;
  text-decoration: none;
}


body.invest-body {
    background-color: #1f0033;
    color: #ffffff;
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    background-color: #2a0055;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

h1, h2 {
    text-align: center;
    color: #ffffff;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

select, button {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

button {
    background-color: #6a0dad;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background-color: #58009c;
}

.success, .error {
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 6px;
}

.success {
    background-color: #28a745;
    color: #fff;
}

.error {
    background-color: #dc3545;
    color: #fff;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    color: #fff;
}

th, td {
    border-bottom: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}
label {
    color: #ddd;
    font-weight: bold;
}

input[type="number"], select {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.summary-box {
    background-color: #3d0066;
    padding: 15px;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 0 10px #00000044;
}
.table-container {
    overflow-x: auto;
    margin-top: 20px;
}

.investment-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #350055;
    color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px #00000055;
}

.investment-table th, .investment-table td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #500080;
}

.investment-table th {
    background-color: #4e008f;
    color: #ffccff;
    font-weight: 600;
}

.investment-table tr:hover {
    background-color: #5c00a3;
}

.investment-ticker-bar {
  width: 100%;
  background-color: #1b142c;
  color: #ffffff;
  overflow: hidden;
  padding: 10px 0;
  font-family: 'Segoe UI', sans-serif;
  font-size: 15px;
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid #333;
}

.investment-ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: scrollTicker 40s linear infinite;
  padding-left: 100%;
}

@keyframes scrollTicker {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}






