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

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

.order-box {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 30px;
  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;
  color: #201c1d;
}

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

.order-status.status-zaprimljeno { background: #fba01c; color: #201c1d; }
.order-status.status-u_izradi    { background: #fba01c; color: #201c1d; }
.order-status.status-gotovo      { background: #201c1d; }
.order-status.status-odbijeno    { background: #8a2929; }

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

.order-ready-files ul,
.order-user-comments ul {
  padding-left: 18px;
  margin: 10px 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: 100%;
  height: 100px;
  padding: 8px;
  resize: vertical;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
}

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

.order-user-form button {
  background: #fba01c;
  color: #201c1d;
  border: none;
  padding: 10px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.order-user-form button:hover {
  background: #e69010;
}

.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: #201c1d;
  color: #fff;
  font-weight: 600;
}

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

.status-zaprimljeno {
  background: #fba01c;
  color: #201c1d;
}

.status-u_izradi {
  background: #fba01c;
  color: #201c1d;
}

.status-ready,
.status-gotovo {
  background: #201c1d;
}

.status-odbijeno {
  background: #8a2929;
}

.btn-view {
  background: #fba01c;
  color: #201c1d;
  padding: 6px 10px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.85em;
  font-weight: bold;
}

.btn-view:hover {
  background: #e69010;
}

/* === 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;
  position: sticky;
  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: .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: #fba01c;
  color: #201c1d;
}

.dashboard-main {
  flex: 1;
  padding: 30px;
  box-sizing: border-box;
}

/*CUSTOM CSS ZA MOJ PROFIL PAGE*/

/* Main Content Area */
.dashboard-main h1 {
  font-size: 28px;
  margin-bottom: 25px;
  color: #201c1d;
  padding-bottom: 15px;
}

/* Profile Container */
.profile-wrapper {
  background-color: #fff;
  border-radius: 8px;
}

.profile-row {
  padding: 20px;
}

.profile-content {
  width: 100%;
}

/* Profile Information Layout */
.profile-information {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-start;
}

/* Left Profile Section (Avatar & Name) */
.profile-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 150px;
}

.user-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fba01c;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 15px;
}

.user-name {
  font-weight: bold;
  font-size: 18px;
  color: #201c1d;
  text-align: center;
}

/* Right Profile Section (Details) */
.profile-right {
  flex: 1;
}

.profile-data {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #e0e0e0;
}

.profile-data-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.profile-data-row:last-child {
  border-bottom: none;
}

.profile-data-row span:first-child {
  font-weight: 600;
  color: #201c1d;
}

.profile-data-row span:last-child {
  color: #333;
}

/* Not logged in message */
.dashboard-main p {
  padding: 20px;
  background-color: #f8f8f8;
  border-radius: 8px;
  color: #201c1d;
  text-align: center;
}


/* Mobile responsive */
@media (max-width: 768px) {
  .dashboard-wrapper {
    flex-direction: column;
  }
  
  .profile-information {
    flex-direction: column;
  }
  
  .profile-left {
    margin-bottom: 20px;
    width: 100%;
  }
  
  .profile-data-row {
    flex-direction: column;
    gap: 5px;
  }
  
  .profile-data-row span:first-child {
    font-size: 14px;
  }
  
  .dashboard-main h1 {
    font-size: 24px;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .profile-row {
    padding: 10px;
  }
  
  .dashboard-main {
    padding: 15px;
  }
  
  .user-image {
    width: 100px;
    height: 100px;
  }
}


.login-action-register .acf-user-register-fields {
  display: none;
}
