/* Buttons */
.btn-primary {
  background-color: #fba01c;
  color: #201c1d;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover {
  background-color: #e69010;
}

.btn-new-order {
  margin-bottom: 30px;
}

/* === Dashboard Order Page === */
.order-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.flexbox {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  gap: 20px;
  padding: 0;
}
.fb-box {
  width: 100%;
  margin: 0 auto;
}

.order-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.2em;
}

.order-status {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9em;
  color: #fff;
  text-transform: capitalize;
}

.order-status.status-zaprimljeno {
  background: #007bff;
}
.order-status.status-u_izradi {
  background: #ffc107;
  color: #000;
}
.order-status.status-potrebna_uplata {
  background: #ffc107;
  color: #000;
}
.order-status.status-gotovo {
  background: #28a745;
}
.order-status.status-odbijeno {
  background: #dc3545;
}

.order-status.status-gotovo_potrebna_naplata {
  background: #ef5a5a;
}

.order-info p,
.order-comment-admin p,
.order-original-file p,
.order-ready-files p {
  margin: 6px 0;
}

.order-user-form {
  border-top: 1px dashed #ddd;
  margin-top: 30px;
  padding-top: 20px;
}

.order-user-form form p {
  margin-bottom: 15px;
}

.order-user-form textarea {
  width: calc(100% - 20px);
  height: 100px;
  padding: 8px;
  resize: vertical;
}

.order-user-form input[type="file"] {
  margin-top: 5px;
}

.order-user-comments {
  margin-top: 30px;
}

.order-user-comments li {
  border-top: 1px solid #eee;
  padding: 10px 0;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ddd;
}

.orders-table th,
.orders-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 0.95em;
  text-align: left;
}

.orders-table th {
  background: #f1f3f5;
  font-weight: 600;
}

.order-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8em;
  color: #fff;
}

.status-zaprimljeno {
  background: #007bff;
}

.status-u_izradi {
  background: #ffc107;
}

.status-ready,
.status-gotovo {
  background: #28a745;
}

.status-odbijeno {
  background: #dc3545;
}

.btn-view {
  background: #343a40;
  color: white;
  padding: 6px 10px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85em;
}

/* === Dashboard Layout === */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
  background: #f8f9fa;
}

.dashboard-sidebar {
  width: 250px;
  background: #201c1d;
  color: #fff;
  padding: 20px;
  box-sizing: border-box;
}

.dashboard-sidebar {
  /* position: sticky; */
  position: fixed;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.dashboard-sidebar .sidebar-logo {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 30px;
}

.dashboard-sidebar .sidebar-logo a {
  color: #fba01c;
}
.dashboard-sidebar .sidebar-logo a:hover {
  opacity: 0.8;
}

.dashboard-sidebar .dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-sidebar .dashboard-menu li {
  margin-bottom: 10px;
}

.dashboard-sidebar .dashboard-menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

.dashboard-sidebar .dashboard-menu li a:hover,
.dashboard-sidebar .dashboard-menu li.current-menu-item a {
  background: #343a40;
}

.dashboard-main {
  flex: 1;
  padding: 30px;
  box-sizing: border-box;
  width: 100%;
  margin-left: 250px;
}

.dashboard-main h1 {
  margin-bottom: 2rem;
}

.orders-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.narudzba-item-naslov {
  font-weight: bold;
  font-size: 1.1em;
  color: #201c1d;
}

a {
  color: #fba01c;
}


/** * Potrebna uplata stilovi * **/

.plati {
  margin: 20px 0;
}

.plati input {
  width: calc(100% - 20px);
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95em;
  box-sizing: border-box;
}

.plati input:focus {
  border-color: #fba01c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(251, 160, 28, 0.2);
}

.plati #mmstripe-pay {
  background-color: #fba01c;
  color: #201c1d;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  width: calc(100% - 20px);
  font-size: 1em;
}

.plati #mmstripe-pay:hover {
  background-color: #e69010;
}

/* === Login Prompt (Guest) === */
.login-prompt-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #201c1d;
  padding: 20px;
  box-sizing: border-box;
}

.login-prompt-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  max-width: 480px;
  width: 100%;
  padding: 48px 40px;
  text-align: center;
  box-sizing: border-box;
}

.login-prompt-logo {
  font-size: 1.6em;
  font-weight: 800;
  color: #fba01c;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.login-prompt-icon {
  font-size: 3em;
  margin-bottom: 16px;
}

.login-prompt-container h2 {
  font-size: 1.5em;
  color: #201c1d;
  margin-bottom: 10px;
  font-weight: 700;
}

.login-prompt-subtitle {
  color: #666;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 28px;
}

.login-prompt-features {
  list-style: none;
  padding: 16px 20px;
  margin: 0 0 28px;
  background: #f8f9fa;
  border-radius: 6px;
  text-align: left;
}

.login-prompt-features li {
  padding: 7px 0;
  color: #333;
  font-size: 0.92em;
  border-bottom: 1px solid #eee;
}

.login-prompt-features li:last-child {
  border-bottom: none;
}

.login-prompt-features .check {
  color: #fba01c;
  font-weight: bold;
  margin-right: 8px;
}

.login-prompt-btn {
  display: block;
  background-color: #fba01c;
  color: #201c1d;
  padding: 13px 24px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1em;
  text-decoration: none;
  transition: background 0.3s;
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.login-prompt-btn:hover {
  background-color: #e69010;
  color: #201c1d;
}

.login-prompt-register {
  font-size: 0.88em;
  color: #888;
  margin: 0;
}

.login-prompt-register a {
  color: #fba01c;
  font-weight: 600;
}

@media (max-width: 600px) {
  .login-prompt-container {
    padding: 32px 24px;
  }

  .login-prompt-container h2 {
    font-size: 1.3em;
  }
}

/* Header: full width when no sidebar (guest view) */
.main-header--full {
  left: 0;
}