* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  background: #ecf0f1;
  color: #2c3e50;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.main-header {
  background: #ffffff;
  padding: 20px;
  border-bottom: 1px solid #bdc3c7;
}
.main-header .header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.main-header .logo h2 {
  color: #2c3e50;
  margin: 0;
  font-size: 1.5em;
  font-weight: 600;
}
.main-header .main-nav {
  display: flex;
  gap: 10px;
}
.main-header .main-nav a {
  color: #2c3e50;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-weight: 500;
}
.main-header .main-nav a:hover {
  background: #ecf0f1;
}
.main-header .main-nav a.active {
  background: #3498db;
  color: #ffffff;
}
.main-header .user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}
.main-header .user-menu .user-name {
  color: #7f8c8d;
  font-weight: 500;
  font-size: 0.9em;
}

.main-footer {
  background: #ffffff;
  padding: 20px;
  margin-top: auto;
  border-top: 1px solid #bdc3c7;
  text-align: center;
}
.main-footer .footer-container {
  max-width: 1400px;
  margin: 0 auto;
}
.main-footer .footer-container p {
  margin: 5px 0;
  color: #7f8c8d;
  font-size: 0.9em;
}

.container {
  max-width: 1400px;
  min-width: 1300px;
  margin: 0 auto;
  padding: 30px 20px;
  flex: 1;
}

section {
  background: #ffffff;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 20px;
}
section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #bdc3c7;
}
section .section-header h2 {
  color: #2c3e50;
  font-size: 1.4em;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-container {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}
.data-table thead {
  background: #ecf0f1;
}
.data-table thead th {
  padding: 15px;
  font-weight: 600;
  color: #2c3e50;
  border-bottom: 2px solid #bdc3c7;
  font-size: 0.9em;
  text-align: center;
}
.data-table tbody tr {
  border-bottom: 1px solid #bdc3c7;
  transition: background 0.2s ease;
}
.data-table tbody tr:hover {
  background: #f5f7f7;
}
.data-table tbody td {
  padding: 15px;
  color: #2c3e50;
  text-align: center;
}
.data-table tbody td div.target-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.data-table tbody td div.target-cell span.target-strength {
  font-size: 0.75em;
  font-weight: 600;
  margin-top: 2px;
}
.data-table tfoot .summary-row {
  background: #ecf0f1;
  font-weight: 600;
}
.data-table tfoot .summary-row td {
  padding: 15px;
  border-top: 2px solid #bdc3c7;
  text-align: center;
}

.stock-cell strong {
  display: block;
  font-size: 1em;
  color: #2c3e50;
  margin-bottom: 2px;
}
.stock-cell .stock-name {
  font-size: 0.85em;
  color: #7f8c8d;
}

.btn {
  display: inline-block;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn:hover {
  opacity: 0.7;
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: #3498db;
  color: #ffffff;
}

.btn-secondary {
  background: #95a5a6;
  color: #ffffff;
}

.btn-success {
  background: #27ae60;
  color: #ffffff;
}

.btn-danger {
  background: #e74c3c;
  color: #ffffff;
}

.btn-warning {
  background: #f39c12;
  color: #ffffff;
}

.btn-logout {
  background: #ffffff;
  color: #e74c3c;
  border: 1px solid #e74c3c;
}
.btn-logout:hover {
  background: #e74c3c;
  color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85em;
}

.btn-block {
  width: 100%;
  display: block;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 70px;
  text-align: center;
}

.badge-success {
  background: #27ae60;
  color: #ffffff;
}

.badge-danger {
  background: #e74c3c;
  color: #ffffff;
}

.badge-warning {
  background: #f39c12;
  color: #ffffff;
}

.badge-secondary {
  background: #95a5a6;
  color: #ffffff;
}

.badge-new {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
  animation: pulse-new 2s ease-in-out infinite;
}

.badge-recent {
  background: #3498db;
  color: #ffffff;
}

.badge-old {
  background: #95a5a6;
  color: #ffffff;
}

@keyframes pulse-new {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(39, 174, 96, 0.4);
  }
  50% {
    box-shadow: 0 2px 15px rgba(39, 174, 96, 0.7);
  }
}

/* Sebep (Reason) hücresi için özel stil */
.reason-cell {
  max-width: 350px;
  min-width: 200px;
}

.reason-text {
  display: block;
  font-size: 0.85em;
  color: #555;
  line-height: 1.4;
  word-wrap: break-word;
  white-space: normal;
  padding: 2px 0;
}

.badge.positive {
  background: #27ae60;
  color: #ffffff;
}

.badge.negative {
  background: #e74c3c;
  color: #ffffff;
}

.badge.warning {
  background: #f39c12;
  color: #ffffff;
}

.alert {
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  border-left: 3px solid;
}
.alert strong {
  font-weight: 600;
}

.alert-error {
  background: #fdf3f2;
  border-color: #e74c3c;
  color: #d62c1a;
}

.alert-success {
  background: #ddf7e8;
  border-color: #27ae60;
  color: #1e8449;
}

.alert-warning {
  background: #fdedd4;
  border-color: #f39c12;
  color: #976008;
}

.login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #ecf0f1;
}

.login-container {
  width: 100%;
  max-width: 450px;
  padding: 20px;
}

.login-box {
  background: #ffffff;
  border-radius: 4px;
  padding: 30px;
  border: 1px solid #bdc3c7;
}
.login-box .login-header {
  text-align: center;
  margin-bottom: 30px;
}
.login-box .login-header h1 {
  color: #3498db;
  font-size: 2em;
  margin-bottom: 10px;
  font-weight: 600;
}
.login-box .login-header p {
  color: #7f8c8d;
  font-size: 1em;
}
.login-box .login-footer {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #bdc3c7;
}

.login-form .form-group {
  margin-bottom: 20px;
}
.login-form .form-group label {
  display: block;
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.9em;
}
.login-form .form-group label .icon {
  margin-right: 5px;
}
.login-form .form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  background: #ffffff;
  color: #2c3e50;
  font-size: 1em;
  transition: border-color 0.2s ease;
}
.login-form .form-group input:focus {
  outline: none;
  border-color: #3498db;
}
.login-form .form-group input::-moz-placeholder {
  color: #7f8c8d;
}
.login-form .form-group input::placeholder {
  color: #7f8c8d;
}

.empty-state {
  padding: 30px;
  text-align: center;
  color: #7f8c8d;
  background: #ecf0f1;
  border-radius: 4px;
}

.form-box {
  background: #ecf0f1;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.form-box h3,
.form-box h4 {
  color: #2c3e50;
  margin-bottom: 15px;
}

.search-form {
  margin-bottom: 15px;
}

.form-inline {
  display: flex;
  gap: 10px;
  align-items: center;
}

.form-control {
  flex: 1;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  font-size: 0.9em;
}
.form-control:focus {
  outline: none;
  border-color: #3498db;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 15px 0;
}

.form-group {
  position: relative;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  font-size: 0.9em;
  color: #2c3e50;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  font-size: 0.9em;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #3498db;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.selected-stock {
  padding: 15px;
  background: #ffffff;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 0.95em;
}

.search-results {
  margin-top: 15px;
}

.stock-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.stock-result-item {
  background: #ffffff;
  padding: 15px;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.2s ease;
}
.stock-result-item:hover {
  border-color: #3498db;
}
.stock-result-item strong {
  color: #2c3e50;
  font-size: 1em;
}
.stock-result-item span {
  color: #7f8c8d;
  font-size: 0.85em;
}
.stock-result-item button {
  margin-top: 5px;
}

.stock-dropdown {
  position: absolute;
  background: #ffffff;
  border: 1px solid #bdc3c7;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 300px;
  overflow-y: auto;
  width: calc(100% - 2px);
  z-index: 1000;
  display: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stock-dropdown-item {
  padding: 10px 15px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid #ecf0f1;
  transition: background 0.2s ease;
}
.stock-dropdown-item:hover {
  background: #ecf0f1;
}
.stock-dropdown-item:last-child {
  border-bottom: none;
}
.stock-dropdown-item strong {
  color: #2c3e50;
  font-size: 0.95em;
}
.stock-dropdown-item span {
  color: #7f8c8d;
  font-size: 0.85em;
}
.stock-dropdown-item.text-muted {
  cursor: default;
  color: #7f8c8d;
  font-style: italic;
}
.stock-dropdown-item.text-muted:hover {
  background: #ffffff;
}

.sell-form {
  border: 2px solid #e74c3c;
}
.sell-form h3 {
  color: #e74c3c;
  margin-bottom: 20px;
}

.stock-info-box {
  background: #ecf0f1;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.info-item .label {
  color: #7f8c8d;
  font-size: 0.9em;
}
.info-item .value {
  font-weight: 500;
  color: #2c3e50;
  font-size: 0.95em;
}
.info-item .value strong {
  color: #2c3e50;
}

.collapsible-section {
  background: #ffffff;
  border: 1px solid #bdc3c7;
  border-radius: 4px;
  overflow: hidden;
}

.collapsible-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ecf0f1;
  cursor: pointer;
  transition: background 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.collapsible-header:hover {
  background: #e3e9eb;
}
.collapsible-header h3 {
  margin: 0;
  font-size: 1em;
  color: #2c3e50;
}

.toggle-icon {
  font-size: 1.2em;
  color: #7f8c8d;
  transition: transform 0.2s ease;
}

.collapsible-content {
  padding: 20px;
}
.collapsible-content .table-container {
  margin: 0;
}

.transactions-section h3 {
  margin-bottom: 15px;
  color: #2c3e50;
}

.transactions-table {
  font-size: 0.9em;
}
.transactions-table tbody tr:hover {
  background: #ecf0f1;
}

.completed-trades-table {
  font-size: 0.9em;
}
.completed-trades-table tbody tr:hover {
  background: #ecf0f1;
}
.completed-trades-table th:first-child {
  text-align: left;
}

.last-update-time {
  font-size: 0.9em;
  color: #7f8c8d;
  font-weight: 500;
}

#signalsLoading {
  text-align: center;
  padding: 20px;
  color: #7f8c8d;
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44, 62, 80, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.loading-overlay.active {
  opacity: 1;
  visibility: visible;
}
.loading-overlay .loading-content {
  text-align: center;
  color: #ffffff;
}
.loading-overlay .loading-content h3 {
  font-size: 1.8em;
  margin: 20px 0 10px 0;
  font-weight: 600;
}
.loading-overlay .loading-content p {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.loading-overlay .loading-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: #7f8c8d;
}

.text-danger {
  color: #e74c3c;
  font-weight: 500;
}

.positive {
  color: #27ae60;
  font-weight: 600;
}

.negative {
  color: #e74c3c;
  font-weight: 600;
}

.warning {
  color: #f39c12;
  font-weight: 600;
}

.neutral {
  color: #7f8c8d;
  font-weight: 500;
}

small {
  font-size: 0.85em;
  display: block;
  margin-top: 5px;
}/*# sourceMappingURL=style.css.map */