/**
 * ====================================================================
 * Pavo Admin Dashboard - Widgets Component Styles
 * Copyright © 2024 RefineThemes.com
 * Author: Saleem Raza
 * Founder: RefineThemes.com
 * License: MIT
 * ====================================================================
 */

.weather-widget {
    width: 100%;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
}

.weather-widget::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    transition: all 0.5s ease;
}

.weather-widget:hover::before {
    transform: rotate(45deg);
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.weather-header h3 {
    margin: 0;
    font-weight: 500;
}

.location-selector select {
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 20px;
    padding: 5px 15px;
    color: white;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.location-selector i {
    position: absolute;
    margin-right: 20px !important;
}
.location-selector select:hover {
    background: rgba(255,255,255,0.3);
}

.weather-current {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.current-temp {
    font-size: 48px;
    font-weight: 300;
    margin-right: 15px;
}

.current-icon {
    font-size: 50px;
    margin-right: 20px;
    animation: pulse 2s infinite;
}

.current-details {
    font-size: 14px;
}

.current-details div {
    margin-bottom: 5px;
}

.weather-forecast {
    display: flex;
    justify-content: space-between;
}

.forecast-day {
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.forecast-day:hover {
    transform: translateY(-5px);
}

.day-name {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.day-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.day-temp {
    font-size: 14px;
    font-weight: 500;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.dashboard-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  background: #fff;
  color: #333;
    border-radius: 15px;
    padding: 5px 20px 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    position: relative;
}
.stat-card {
  border-radius: 10px;
  padding: 27px 20px;
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.stat-header h3{
    margin: 0;
    font-weight: 500;
}

.stat-period {
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  margin: 10px 0;
}

.stat-change {
  font-size: 12px;
  margin-bottom: 15px;
}

.stat-change.positive {
  color: inherit;
}

.stat-change.negative {
  color: inherit;
}

.stat-chart {
  height: 60px;
  width: 100%;
}
.transparent-select {
  width:auto;
    border-radius: 20px;
    padding: 5px 15px;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.timeline-widget {
  background: white;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.timeline-header h3 {
  margin: 0;
  font-size: 18px;
}

.timeline-header .view-all {
  background: none;
  border: none;
  color: #4e73df;
  cursor: pointer;
  font-size: 14px;
}

.timeline-items {
  position: relative;
  padding-left: 30px;
}

.timeline-items::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-badge {
  position: absolute;
  left: -30px;
  top: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.timeline-badge.success {
  background: #1cc88a;
  box-shadow: 0 0 0 4px rgba(28, 200, 138, 0.2);
}

.timeline-badge.warning {
  background: #f6c23e;
  box-shadow: 0 0 0 4px rgba(246, 194, 62, 0.2);
}

.timeline-badge.primary {
  background: #4e73df;
  box-shadow: 0 0 0 4px rgba(78, 115, 223, 0.2);
}

.timeline-content {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.timeline-item:hover .timeline-content {
  transform: translateX(5px);
  box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
}

.timeline-title {
  font-weight: bold;
  margin-bottom: 5px;
}

.timeline-time {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 5px;
}

.timeline-desc {
  font-size: 14px;
  color: #858796;
}
.data-table-widget {
  background: white !important;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.table-header h3 {
  margin: 0;
  font-size: 18px;
}

.table-actions {
  display: flex;
  gap: 15px;
}

.export-btn {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  padding: 8px 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.export-btn:hover {
  background: #e9ecef;
}

.table-search {
  position: relative;
}

.table-search input {
  padding: 8px 15px 8px 35px;
  border: 1px solid #e9ecef;
  border-radius: 4px;
  width: 200px;
}

.table-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #6c757d;
}

.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: #f8f9fa !important;
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #6c757d !important;
  border-bottom: 2px solid #e9ecef;
}

.data-table td {
  padding: 12px 15px;
  border-bottom: 1px solid #e9ecef !important;
  vertical-align: middle;
  background-color: #fff !important;
  color:#333 !important;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:hover td {
  background: #f8f9fa !important;
}

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-badge.completed {
  background: rgba(28, 200, 138, 0.1) !important;
  color: #1cc88a !important;
}

.status-badge.pending {
  background: rgba(246, 194, 62, 0.1) !important;
  color: #f6c23e !important;
}

.status-badge.shipped {
  background: rgba(78, 115, 223, 0.1) !important;
  color: #4e73df !important;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  color: #6c757d !important;
  transition: color 0.3s;
}

.action-btn.view:hover {
  color: #4e73df !important;
}

.action-btn.edit:hover {
  color: #f6c23e !important;
}

.table-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e9ecef !important;
}

.table-info {
  color: #6c757d !important;
  font-size: 14px;
}

.table-pagination {
  display: flex;
  gap: 5px;
}

.pagination-btn {
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9ecef !important;
  background: white !important;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination-btn:hover:not(:disabled):not(.active) {
  background: #f8f9fa !important;
}

.pagination-btn.active {
  background: #4e73df !important;
  color: white !important;
  border-color: #4e73df !important;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.widgets-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}

.widgets-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.widgets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.widgets-header h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.widgets-period {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px 10px;
  background: #f9f9f9;
  font-size: 14px;
}

.widgets-content {
  display: flex;
  padding: 20px;
}

.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 10px;
  position: relative;
}

.stat-item:not(:last-child):after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: #eee;
}

.stat-value {
  font-size: 22px;
  font-weight: bold;
  color: #333;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  color: #777;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.stat-sparkline {
  height: 40px;
  width: 100%;
}

.widgets-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-top: 1px solid #eee;
}

.stat-change {
  font-size: 12px;
}

.stat-change.positive {
  color: #0f9d58;
}

.stat-change.negative {
  color: #ff5252;
}

.widgets-details {
  background: none;
  border: 1px solid #4285f4;
  color: #4285f4;
  padding: 5px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s;
}

.widgets-details:hover {
  background: #4285f4;
  color: white;
}

/* Sparkline animation */
.jqstooltip {
  box-sizing: content-box;
  background: rgba(0,0,0,0.8) !important;
  border-radius: 4px !important;
  padding: 5px 10px !important;
  border: none !important;
}
.product-card {
  width: 280px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  transition: all 0.3s ease;
  margin: 20px;
}

.product-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff5252;
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  z-index: 1;
}

.product-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.color-options {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.product-card:hover .color-options {
  opacity: 1;
  transform: translateY(0);
}

.color-option {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.color-option:hover {
  transform: scale(1.2);
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #333;
}

.product-rating {
  margin-bottom: 15px;
}

.product-rating i {
  color: #FFD700;
  font-size: 14px;
}

.product-rating span {
  font-size: 12px;
  color: #777;
  margin-left: 5px;
}

.product-price {
  margin: 15px 0;
}

.current-price {
  font-size: 22px;
  font-weight: bold;
  color: #333;
}

.original-price {
  font-size: 16px;
  color: #999;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-actions {
  display: flex;
  margin-top: 20px;
}

.add-to-cart {
  flex: 1;
  background: #4285f4;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s;
}

.add-to-cart:hover {
  background: #3367d6;
}

.wishlist {
  width: 40px;
  background: #f5f5f5;
  border: none;
  border-radius: 5px;
  margin-left: 10px;
  cursor: pointer;
  color: #666;
  transition: all 0.3s;
}

.wishlist:hover {
  color: #ff5252;
  background: #f0f0f0;
}

/* Animation for color selection */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.color-selected {
  animation: pulse 0.5s ease;
  border: 2px solid #333 !important;
}
.profile-card {
  width: 320px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 30px auto;
}

.profile-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.profile-bg {
  height: 120px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.profile-content {
  padding: 20px;
  text-align: center;
  position: relative;
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px solid white;
  overflow: hidden;
  margin: -60px auto 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.profile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card:hover .profile-img {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.profile-card h3 {
  margin: 10px 0 5px;
  color: #333;
  font-size: 22px;
}

.profile-card p {
  color: #777;
  margin-bottom: 20px;
  font-size: 14px;
}

.profile-stats {
  display: flex;
  justify-content: space-around;
  margin: 25px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.stat-value {
  display: block;
  font-weight: bold;
  font-size: 18px;
  color: #333;
}

.stat-label {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
}

.social-links {
  margin: 20px 0;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: #f5f5f5;
  color: #666;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s;
}

.social-links a:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: translateY(-3px);
}

.contact-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
  transition: all 0.3s;
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.payment-icons {
  font-size: 2rem;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  color: #555;
}

.payment-icons i:hover {
  color: #000;
  cursor: default;
}
.list-widget {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  width:100%;
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.list-header h3 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

.list-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  position: relative;
}

.search-box input {
  padding: 8px 15px 8px 35px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 200px;
  transition: all 0.3s;
}

.search-box input:focus {
  width: 250px;
  border-color: #4a6fa5;
  outline: none;
}

.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
}

.sort-btn, .add-btn {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.sort-btn {
  background: #f5f5f5;
  color: #666;
}

.sort-btn:hover {
  background: #e0e0e0;
}

.add-btn {
  background: #4a6fa5;
  color: white;
}

.add-btn:hover {
  background: #3a5a8f;
}

.list-filter {
  display: flex;
  padding: 10px 20px;
  border-bottom: 1px solid #eee;
  background: #f9f9f9;
}

.filter-option {
  padding: 5px 15px;
  margin-right: 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-option:hover {
  background: #e0e0e0;
}

.filter-option.active {
  background: #4a6fa5;
  color: white;
}

.list-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s;
}

.list-item:hover {
  background: #f9f9f9;
}

.item-checkbox {
  margin-right: 15px;
  position: relative;
}

.item-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.item-checkbox label {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s;
}

.item-checkbox input[type="checkbox"]:checked + label {
  background: #4a6fa5;
  border-color: #4a6fa5;
}

.item-checkbox input[type="checkbox"]:checked + label::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.item-content {
  flex: 1;
}

.item-title {
  font-weight: 500;
  margin-bottom: 5px;
}

.item-meta {
  display: flex;
  gap: 15px;
  font-size: 0.8rem;
  color: #777;
}

.item-priority {
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: bold;
}

.item-priority.high {
  background: #ffebee;
  color: #c62828;
}

.item-priority.medium {
  background: #fff8e1;
  color: #f57f17;
}

.item-priority.low {
  background: #e8f5e9;
  color: #2e7d32;
}

.item-actions {
  display: flex;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.list-item:hover .item-actions {
  opacity: 1;
}

.star-btn, .edit-btn, .delete-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  transition: all 0.3s;
  font-size: 1rem;
}

.star-btn:hover {
  color: #ffc107;
  transform: scale(1.1);
}

.edit-btn:hover {
  color: #4a6fa5;
  transform: scale(1.1);
}

.delete-btn:hover {
  color: #f44336;
  transform: scale(1.1);
}

.star-btn.active i {
  font-weight: 900;
  color: #ffc107;
}

.list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f9f9f9;
}

.list-stats {
  font-size: 0.9rem;
  color: #777;
}

.clear-completed {
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.clear-completed:hover {
  color: #f44336;
}

/* Completed item style */
.list-item.completed .item-title {
  text-decoration: line-through;
  color: #999;
}

.list-item.completed .item-checkbox label {
  background: #e0e0e0;
  border-color: #e0e0e0;
}

/* Animation for new items */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.new-item {
  animation: fadeIn 0.5s ease-out;
}