/* Modern Order Page Styles */
:root {
  --primary-color: #ff2727;
  --primary-hover: #e02020;
  --text-color: #333;
  --light-text: #666;
  --border-color: #e0e0e0;
  --background-gray: #f8f8f8;
  --white: #fff;
  --shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  --radius: 8px;
  --transition: all 0.2s ease;
  --label-color: #888;
  --success-color: #4CAF50;
}

/* Main Container */
.order-ot {
  width: 100%;
  min-height: 80vh;
  background-color: var(--background-gray);
  padding: 40px 0;
}

.order-in {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Order Header */
.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.order-header h1 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.tab-nav {
  background-color: var(--primary-color);
  border: none;
  border-radius: var(--radius);
  padding: 10px 20px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-nav:hover {
  background-color: var(--primary-hover);
}

.tab-nav a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: block;
}

/* Order Grid */
.orders-grid-ot {
  width: 100%;
}

.orders-gird-ul {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  padding: 0;
  list-style: none;
}

.order-grid-li {
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.order-grid-li:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Order Item Layout */
.order-grid-li-in-left {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.order-grid-li-in-right {
  padding: 20px;
  background-color: var(--background-gray);
}

/* Product Info */
.product-info {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.product-info:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.order-img {
  flex-shrink: 0;
}

.order-img a img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
}

.order-product-lable {
  flex: 1;
}

.order-name {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-color);
}

.order-size,
.order-color {
  font-size: 14px;
  color: var(--light-text);
  margin-bottom: 5px;
}

/* User Info */
.user-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-user {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-color);
}

.order-tracking-no {
  font-size: 14px;
  color: var(--light-text);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Tracking ID */
.id_copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
  color: var(--text-color);
}

.id_copy:hover {
  background-color: var(--background-gray);
  border-color: var(--light-text);
}

.id_copy svg {
  width: 16px;
  height: 16px;
  color: var(--primary-color);
}

.track_link {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  margin-top: 12px;
  transition: var(--transition);
}

.track_link:hover {
  text-decoration: underline;
}

/* Auth Form */
.ot-order-auth {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.in-order-auth {
  max-width: 450px;
  width: 100%;
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

.ph-au-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 20px;
  display: block;
}

.inputflds {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-size: 15px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.inputflds:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(255, 39, 39, 0.1);
}

.check-cobtn {
  width: 100%;
  padding: 12px 20px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.check-cobtn:hover {
  background-color: var(--primary-hover);
}

/* Order Success Animation */
.order-success-container {
  text-align: center;
  padding: 40px 0;
  background-color: var(--white);
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-animation {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  position: relative;
}

.checkmark {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--white);
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 var(--success-color);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--success-color);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
      stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
      transform: none;
  }
  50% {
      transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
      box-shadow: inset 0 0 0 100px var(--success-color);
  }
}

.success-message {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.success-details {
  font-size: 14px;
  color: var(--light-text);
  max-width: 450px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.success-action {
  margin-top: 20px;
}

.success-action .check-cobtn {
  max-width: 200px;
}

/* No Orders Found */
.no-orderfound {
  text-align: center;
  padding: 60px 0;
}

.noordersv {
  margin-bottom: 30px;
}

.noordersv svg {
  width: 120px;
  height: 120px;
  color: var(--light-text);
  opacity: 0.7;
}

.noorder-label p {
  font-size: 18px;
  color: var(--text-color);
  margin-bottom: 30px;
}

.butnnorder {
  display: inline-block;
  padding: 12px 25px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.butnnorder:hover {
  background-color: var(--primary-hover);
}

.butnnorder a {
  color: white;
  text-decoration: none;
}

/* Copy Animation */
@keyframes copySuccess {
  0% {
      background-color: var(--white);
  }
  30% {
      background-color: rgba(76, 175, 80, 0.2);
  }
  100% {
      background-color: var(--white);
  }
}

.copy-success {
  animation: copySuccess 1.5s ease;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .order-grid-li {
      display: flex;
  }
  
  .order-grid-li-in-left {
      flex: 0 0 60%;
      border-bottom: 0;
      border-right: 1px solid var(--border-color);
  }
  
  .order-grid-li-in-right {
      flex: 0 0 40%;
  }
}

@media (max-width: 768px) {
  .order-ot {
      padding: 20px 0;
  }
  
  .order-header {
      margin-bottom: 20px;
  }
  
  .order-header h1 {
      font-size: 20px;
  }
  
  .tab-nav {
      padding: 8px 15px;
  }
  
  .tab-nav a {
      font-size: 14px;
  }
  
  .order-grid-li-in-left,
  .order-grid-li-in-right {
      padding: 15px;
  }
  
  .product-info {
      gap: 10px;
      margin-bottom: 10px;
      padding-bottom: 10px;
  }
  
  .order-img a img {
      width: 60px;
      height: 60px;
  }
  
  .order-name {
      font-size: 15px;
  }
  
  .order-size,
  .order-color {
      font-size: 13px;
  }
  
  .order-user {
      font-size: 14px;
  }
  
  .order-tracking-no {
      font-size: 13px;
  }
  
  .track_link {
      margin-top: 10px;
  }
  
  .success-animation {
      width: 80px;
      height: 80px;
      margin-bottom: 20px;
  }
  
  .checkmark {
      width: 80px;
      height: 80px;
  }
  
  .success-message {
      font-size: 16px;
  }
  
  .success-details {
      font-size: 13px;
  }
}

@media (max-width: 480px) {
  .order-in {
      padding: 0 15px;
  }
  
  .order-header h1 {
      font-size: 18px;
  }
  
  .tab-nav {
      padding: 7px 12px;
  }
  
  .tab-nav a {
      font-size: 13px;
  }
  
  .order-img a img {
      width: 50px;
      height: 50px;
  }
  
  .in-order-auth {
      padding: 20px;
  }
}

  
