432 lines
6.5 KiB
CSS
432 lines
6.5 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: #f0f2f5;
|
|
color: #1a1a1a;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.wrapper {
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.hero {
|
|
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
|
|
padding: 60px 20px;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
|
|
.hero-content h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 12px;
|
|
text-shadow: 0 2px 10px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.hero-content p {
|
|
font-size: 1.1rem;
|
|
opacity: 0.95;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1400px;
|
|
margin: 0 auto;
|
|
padding: 30px 20px;
|
|
}
|
|
|
|
.grid {
|
|
display: grid;
|
|
grid-template-columns: 380px 1fr;
|
|
gap: 30px;
|
|
align-items: start;
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
position: sticky;
|
|
top: 20px;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.card-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.card-header h2 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.card-icon {
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.main-header {
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.form-card {
|
|
border-top: 4px solid #6366f1;
|
|
}
|
|
|
|
.vacation-form {
|
|
padding: 24px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18px;
|
|
}
|
|
|
|
.form-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
.form-group label {
|
|
font-size: 0.85rem;
|
|
font-weight: 600;
|
|
color: #555;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.form-group label .icon {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.form-group input {
|
|
padding: 12px 14px;
|
|
border: 2px solid #e5e7eb;
|
|
border-radius: 10px;
|
|
font-size: 0.95rem;
|
|
font-family: inherit;
|
|
transition: all 0.2s;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.form-group input:focus {
|
|
outline: none;
|
|
border-color: #6366f1;
|
|
background: white;
|
|
box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
|
|
}
|
|
|
|
.form-group input::placeholder {
|
|
color: #9ca3af;
|
|
}
|
|
|
|
.form-row-2 {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 12px;
|
|
}
|
|
|
|
.btn-primary {
|
|
margin-top: 8px;
|
|
padding: 14px 24px;
|
|
background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
|
|
color: white;
|
|
border: none;
|
|
border-radius: 10px;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px rgba(99, 102, 241, 0.35);
|
|
}
|
|
|
|
.btn-primary:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.btn-icon {
|
|
font-size: 1.2rem;
|
|
line-height: 1;
|
|
}
|
|
|
|
.stats-card {
|
|
border-top: 4px solid #10b981;
|
|
}
|
|
|
|
.stats-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px;
|
|
padding: 24px;
|
|
}
|
|
|
|
.stat-item {
|
|
text-align: center;
|
|
padding: 15px;
|
|
background: #f8fafc;
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.stat-value {
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
color: #6366f1;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.8rem;
|
|
color: #64748b;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.main-content .card {
|
|
border-top: 4px solid #8b5cf6;
|
|
}
|
|
|
|
.cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
|
|
gap: 20px;
|
|
padding: 24px;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.vacation-card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.06);
|
|
transition: all 0.3s;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vacation-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 30px rgba(0,0,0,0.12);
|
|
}
|
|
|
|
.vacation-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, #6366f1, #8b5cf6);
|
|
}
|
|
|
|
.card-location {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.flag-icon {
|
|
font-size: 2rem;
|
|
width: 50px;
|
|
height: 50px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
|
|
border-radius: 10px;
|
|
}
|
|
|
|
.location-info h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
.location-info p {
|
|
font-size: 0.9rem;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.card-details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.detail-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 0.9rem;
|
|
color: #374151;
|
|
}
|
|
|
|
.detail-row .d-icon {
|
|
font-size: 1.1rem;
|
|
width: 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.detail-row strong {
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.card-budget {
|
|
background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
|
|
padding: 12px 16px;
|
|
border-radius: 10px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.budget-label {
|
|
font-size: 0.85rem;
|
|
color: #059669;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.budget-value {
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: #059669;
|
|
}
|
|
|
|
.card-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.btn-delete {
|
|
flex: 1;
|
|
padding: 10px 16px;
|
|
background: #fef2f2;
|
|
color: #dc2626;
|
|
border: 1px solid #fee2e2;
|
|
border-radius: 8px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.btn-delete:hover {
|
|
background: #dc2626;
|
|
color: white;
|
|
border-color: #dc2626;
|
|
}
|
|
|
|
.btn-export {
|
|
padding: 10px 18px;
|
|
background: white;
|
|
color: #10b981;
|
|
border: 2px solid #10b981;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
font-family: inherit;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.btn-export:hover {
|
|
background: #10b981;
|
|
color: white;
|
|
}
|
|
|
|
.empty-state {
|
|
text-align: center;
|
|
padding: 80px 24px;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.empty-icon {
|
|
font-size: 4rem;
|
|
margin-bottom: 20px;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-state h3 {
|
|
font-size: 1.3rem;
|
|
color: #374151;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.empty-state p {
|
|
font-size: 1rem;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.sidebar {
|
|
position: static;
|
|
}
|
|
|
|
.cards-grid {
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.hero-content h1 {
|
|
font-size: 1.8rem;
|
|
}
|
|
|
|
.form-row-2 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.cards-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.stats-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|