Here's a comprehensive salon management website with essential pages built using HTML, CSS, and JavaScript:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elegance Salon - Management System</title>
<style>
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f5f5;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header Styles */
header {
background-color: #6a1b9a;
color: white;
padding: 20px 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo {
font-size: 28px;
font-weight: bold;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 20px;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: #f8bbd0;
}
/* Main Content Styles */
main {
padding: 40px 0;
}
.dashboard {
display: grid;
grid-template-columns: 250px 1fr;
gap: 30px;
}
.sidebar {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 20px;
}
.sidebar h3 {
margin-bottom: 20px;
color: #6a1b9a;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.sidebar-menu {
list-style: none;
}
.sidebar-menu li {
margin-bottom: 15px;
}
.sidebar-menu a {
color: #555;
text-decoration: none;
display: flex;
align-items: center;
transition: color 0.3s;
}
.sidebar-menu a:hover {
color: #6a1b9a;
}
.sidebar-menu i {
margin-right: 10px;
font-size: 18px;
}
.content {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 30px;
}
.page-title {
margin-bottom: 30px;
color: #6a1b9a;
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
}
th, td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #eee;
}
th {
background-color: #f5f5f5;
color: #333;
font-weight: 600;
}
tr:hover {
background-color: #f9f9f9;
}
.btn {
padding: 8px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
transition: background-color 0.3s;
}
.btn-primary {
background-color: #6a1b9a;
color: white;
}
.btn-primary:hover {
background-color: #4a148c;
}
.btn-danger {
background-color: #e53935;
color: white;
}
.btn-danger:hover {
background-color: #c62828;
}
.btn-success {
background-color: #43a047;
color: white;
}
.btn-success:hover {
background-color: #2e7d32;
}
/* Form Styles */
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
input, select, textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
textarea {
min-height: 100px;
}
/* Stats Cards */
.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background-color: white*
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Elegance Salon - Management System</title>
<style>
/* Global Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f5f5;
color: #333;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header Styles */
header {
background-color: #6a1b9a;
color: white;
padding: 20px 0;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.logo {
font-size: 28px;
font-weight: bold;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-links {
display: flex;
list-style: none;
}
.nav-links li {
margin-left: 20px;
}
.nav-links a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
.nav-links a:hover {
color: #f8bbd0;
}
/* Main Content Styles */
main {
padding: 40px 0;
}
.dashboard {
display: grid;
grid-template-columns: 250px 1fr;
gap: 30px;
}
.sidebar {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 20px;
}
.sidebar h3 {
margin-bottom: 20px;
color: #6a1b9a;
border-bottom: 1px solid #eee;
padding-bottom: 10px;
}
.sidebar-menu {
list-style: none;
}
.sidebar-menu li {
margin-bottom: 15px;
}
.sidebar-menu a {
color: #555;
text-decoration: none;
display: flex;
align-items: center;
transition: color 0.3s;
}
.sidebar-menu a:hover {
color: #6a1b9a;
}
.sidebar-menu i {
margin-right: 10px;
font-size: 18px;
}
.content {
background-color: white;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
padding: 30px;
}
.page-title {
margin-bottom: 30px;
color: #6a1b9a;
}
/* Table Styles */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 30px;
}
th, td {
padding: 12px 15px;
text-align: left;
border-bottom: 1px solid #eee;
}
th {
background-color: #f5f5f5;
color: #333;
font-weight: 600;
}
tr:hover {
background-color: #f9f9f9;
}
.btn {
padding: 8px 15px;
border: none;
border-radius: 4px;
cursor: pointer;
font-weight: 500;
transition: background-color 0.3s;
}
.btn-primary {
background-color: #6a1b9a;
color: white;
}
.btn-primary:hover {
background-color: #4a148c;
}
.btn-danger {
background-color: #e53935;
color: white;
}
.btn-danger:hover {
background-color: #c62828;
}
.btn-success {
background-color: #43a047;
color: white;
}
.btn-success:hover {
background-color: #2e7d32;
}
/* Form Styles */
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
input, select, textarea {
width: 100%;
padding: 10px;
border: 1px solid #ddd;
border-radius: 4px;
font-size: 16px;
}
textarea {
min-height: 100px;
}
/* Stats Cards */
.stats {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-bottom: 30px;
}
.stat-card {
background-color: white*