 /* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

 /* Header Styles */
header {
    background-color: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 1rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #3498db;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-btn, .cart-btn {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.auth-btn {
    background-color: #3498db;
}

.auth-btn:hover {
    background-color: #2980b9;
}

.cart-btn {
    position: relative;
    background-color: #e74c3c;
    padding-left: 2.5rem;
}

.cart-btn:hover {
    background-color: #c0392b;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #f39c12;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background-color: #2c3e50;
    padding: 1rem;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    margin-bottom: 0.5rem;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-nav, .user-actions {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu.active {
        display: block;
    }
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

 

/* Buttons */
.btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2980b9;
}

.btn.secondary {
    background-color: #95a5a6;
}

.btn.secondary:hover {
    background-color: #7f8c8d;
}

.btn.danger {
    background-color: #e74c3c;
}

.btn.danger:hover {
    background-color: #c0392b;
}

.btn.small {
    padding: 0.3rem 0.6rem;
    font-size: 0.9rem;
}
/* Footer Styles */
.site-footer {
  background-color: #001722;
  color: #fff;
  padding: 40px 0 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col {
  margin-bottom: 20px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: rgba(255,255,255,0.3);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.contact-item i {
  margin-right: 10px;
  margin-top: 3px;
  color: rgba(255,255,255,0.8);
}

address {
  font-style: normal;
  line-height: 1.6;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin: 20px 0;
}

.payment-text {
  font-weight: 500;
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.payment-icons img {
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.copyright {
  margin-bottom: 15px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
  
  .copyright {
    margin-bottom: 0;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .payment-methods {
    flex-direction: column;
    text-align: center;
  }
}
/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h3 {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
}

.product-card p {
    padding: 0 1rem 0.5rem;
    color: #666;
}

.product-card .btn {
    display: block;
    margin: 0.5rem 1rem 1rem;
    text-align: center;
}

/* Customize Page */
.customize-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.product-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.product-info img {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.price-preview {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.price-preview p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.price-preview span {
    font-weight: bold;
    color: #2c3e50;
}

/* Preview Page */
.preview-container {
    max-width: 800px;
    margin: 0 auto;
}

.notebook-preview {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.notebook-cover {
    flex: 1;
    border: 1px solid #ddd;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notebook-cover img {
    max-width: 100%;
    max-height: 400px;
}

.notebook-details {
    flex: 1;
}

.notebook-details h2 {
    margin-bottom: 1rem;
}

.notebook-details ul {
    list-style: none;
    margin: 1.5rem 0;
}

.notebook-details ul li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.price-details {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.price-details p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.price-details .mrp {
    text-decoration: line-through;
    color: #777;
}

.price-details .final-price {
    font-size: 1.3rem;
    color: #27ae60;
}

/* Checkout Page */
.checkout-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.order-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.notebook-preview-small {
    width: 100%;
    max-height: 200px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    padding: 0.5rem;
}

.notebook-preview-small img {
    max-width: 100%;
    max-height: 180px;
}

.price-summary {
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 4px;
}

.price-summary p {
    margin-bottom: 0.5rem;
}

.price-summary .total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ddd;
}

.customer-info {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Confirmation Page */
.confirmation-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.confirmation-message {
    text-align: center;
}

.confirmation-message h2 {
    color: #27ae60;
    margin-bottom: 1rem;
}

.confirmation-message p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.order-details {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: left;
}

.order-details h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

/* Admin Styles */
.admin-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #2c3e50;
    color: white;
    padding: 1rem;
}

.admin-sidebar h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar ul {
    list-style: none;
}

.admin-sidebar li {
    margin-bottom: 0.5rem;
}

.admin-sidebar a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.admin-sidebar a:hover {
    background-color: rgba(255,255,255,0.1);
}

.admin-sidebar a.active {
    background-color: #3498db;
}

.admin-content {
    padding: 1.5rem;
    background: #f5f5f5;
}

.message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: #d4edda;
    color: #155724;
    border-radius: 4px;
}

.error-message {
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 4px;
}

.products-table, .orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.products-table th, 
.orders-table th {
    background: #2c3e50;
    color: white;
    text-align: left;
    padding: 0.75rem;
}

.products-table td, 
.orders-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #ddd;
}

.products-table tr:hover, 
.orders-table tr:hover {
    background-color: #f8f9fa;
}

.product-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.order-thumb {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.status-form {
    display: inline-block;
}

.status-form select {
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.login-container {
    max-width: 400px;
    margin: 5rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-container h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: #2c3e50;
}

/* Responsive */
@media (max-width: 768px) {
    .customize-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .notebook-preview {
        flex-direction: column;
    }
    
    .admin-container {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        display: none;
    }
}
/* Account Pages */
.account-container {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding: 0 1rem;
}

.account-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1.5rem;
    height: fit-content;
}

.account-avatar {
    text-align: center;
    margin-bottom: 1.5rem;
}

.account-avatar i {
    font-size: 4rem;
    color: #3498db;
}

.account-avatar h3 {
    margin: 0.5rem 0 0;
    font-size: 1.1rem;
}

.account-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-nav li {
    margin-bottom: 0.5rem;
}

.account-nav a {
    display: block;
    padding: 0.7rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.account-nav a:hover {
    background: #f8f9fa;
    color: #3498db;
}

.account-nav a.active {
    background: #3498db;
    color: white;
}

.account-nav a i {
    width: 20px;
    margin-right: 8px;
}

.account-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 1.5rem;
}

.account-form {
    margin-top: 1.5rem;
}

.account-form .form-group {
    margin-bottom: 1.2rem;
}

.account-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.account-form input,
.account-form textarea,
.account-form select {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.account-form textarea {
    min-height: 120px;
    resize: vertical;
}

.empty-orders {
    text-align: center;
    padding: 3rem 0;
}

.empty-orders i {
    font-size: 3rem;
    color: #95a5a6;
    margin-bottom: 1rem;
}

.empty-orders p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

/* Orders List */
.orders-list {
    display: grid;
    gap: 1.5rem;
}

.order-card {
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.order-info h3 {
    margin: 0;
    font-size: 1.1rem;
}

.order-date {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 0.2rem 0 0;
}

.order-total {
    text-align: right;
}

.order-total p {
    margin: 0;
    font-size: 1.1rem;
}

.order-total span {
    font-weight: bold;
    color: #2c3e50;
}

.order-details {
    display: flex;
    padding: 1.5rem;
    gap: 1.5rem;
}

.product-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.product-specs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
}

.product-specs li {
    color: #666;
    font-size: 0.9rem;
}

.custom-design {
    padding: 0 1.5rem 1.5rem;
}

.custom-design h4 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
}

.custom-image {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #eee;
    border-radius: 4px;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .order-total {
        text-align: left;
        width: 100%;
    }
    
    .order-details {
        flex-direction: column;
    }
    
    .product-image {
        width: 100%;
        height: auto;
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .order-actions .btn {
        width: 100%;
        text-align: center;
    }
}