:root {
--primary-color: #008DCB;
--secondary-color: #1a1a1a;
--accent-color: #E1305A;
--text-color: #333;
--border-color: #ddd;
--bg-light: #f9f9f9;
--shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
--shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
} .dubai-guestbook-form {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
} .progress-bar {
margin-bottom: 40px;
}
.progress-steps {
display: flex;
justify-content: space-between;
margin-bottom: 10px;
position: relative;
}
.progress-step {
width: 40px;
height: 40px;
border-radius: 50%;
background: #fff;
border: 2px solid var(--border-color);
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
color: var(--text-color);
position: relative;
z-index: 2;
}
.progress-step.active {
border-color: var(--primary-color);
background: var(--primary-color);
color: #fff;
}
.progress-step.completed {
border-color: #27ae60;
background: #27ae60;
color: #fff;
}
.progress-indicator {
height: 4px;
background: var(--border-color);
border-radius: 2px;
position: relative;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: var(--primary-color);
transition: width 0.3s ease;
} .step-card {
background: #fff;
border-radius: 12px;
padding: 40px;
box-shadow: var(--shadow);
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.step-card h2 {
margin: 0 0 10px;
color: var(--secondary-color);
font-size: 28px;
}
.step-description {
color: #666;
margin-bottom: 30px;
font-size: 16px;
} .form-group {
margin-bottom: 25px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: var(--text-color);
}
.form-control {
width: 100%;
padding: 12px 16px;
border: 2px solid var(--border-color);
border-radius: 8px;
font-size: 16px;
transition: border-color 0.3s;
box-sizing: border-box;
}
.form-control:focus {
outline: none;
border-color: var(--primary-color);
}
select.form-control {
cursor: pointer !important;
background-color: #fff !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
background-repeat: no-repeat !important;
background-position: right 12px center !important;
background-size: 12px !important;
padding-right: 40px !important;
appearance: none !important;
-webkit-appearance: none !important;
-moz-appearance: none !important;
height: 48px !important;
line-height: 1.5 !important;
min-height: 48px !important;
overflow: visible !important;
}
select.form-control::-ms-expand {
display: none;
}
select.form-control option {
padding: 10px;
background-color: #fff;
color: #333;
font-size: 16px;
}
.experience-textarea {
resize: vertical;
min-height: 200px;
font-family: inherit;
} .char-counter {
text-align: right;
margin-top: 5px;
font-size: 14px;
color: #666;
}
.char-counter .warning {
color: var(--accent-color);
font-weight: bold;
} .btn {
padding: 12px 30px;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
.btn-primary {
background: var(--primary-color);
color: #fff;
}
.btn-primary:hover:not(:disabled) {
background: #c5a028;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}
.btn-secondary {
background: #6c757d;
color: #fff;
}
.btn-secondary:hover:not(:disabled) {
background: #5a6268;
}
.btn-danger {
background: var(--accent-color);
color: #fff;
}
.btn-danger:hover {
background: #c0392b;
}
.btn-small {
padding: 8px 16px;
font-size: 14px;
}
.btn-large {
padding: 16px 40px;
font-size: 18px;
}
.btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.form-actions {
display: flex;
gap: 15px;
margin-top: 30px;
justify-content: space-between;
} .travel-type-grid,
.accommodation-type-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
margin-bottom: 20px;
}
.travel-type-card,
.accommodation-type-card {
padding: 30px 20px;
border: 2px solid var(--border-color);
border-radius: 12px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
background: #fff;
}
.travel-type-card:hover,
.accommodation-type-card:hover {
border-color: var(--primary-color);
transform: translateY(-5px);
box-shadow: var(--shadow-hover);
}
.travel-type-card.selected,
.accommodation-type-card.selected {
border-color: var(--primary-color);
background: #fffbf0;
box-shadow: var(--shadow);
}
.travel-type-icon,
.accommodation-type-icon {
font-size: 48px;
margin-bottom: 10px;
}
.travel-type-label,
.accommodation-type-label {
font-weight: 600;
color: var(--text-color);
} .dgb-star-rating-container {
display: flex !important;
gap: 8px !important;
align-items: center !important;
justify-content: flex-start !important;
margin: 10px 0 !important;
padding: 0 !important;
border: none !important;
background: none !important;
box-shadow: none !important;
}
.dgb-star-item {
display: inline-block !important;
width: 40px !important;
height: 40px !important;
cursor: pointer !important;
position: relative !important;
transition: transform 0.2s ease, opacity 0.2s ease !important;
pointer-events: auto !important;
user-select: none !important;
-webkit-user-select: none !important;
-moz-user-select: none !important;
-ms-user-select: none !important;
opacity: 1 !important;
border: none !important;
background: none !important;
padding: 0 !important;
margin: 0 !important;
font-size: 36px !important;
line-height: 40px !important;
text-align: center !important;
}
.dgb-star-item::before {
content: '\2606' !important; color: #ddd !important;
display: block !important;
position: relative !important;
top: 0 !important;
left: 0 !important;
width: 100% !important;
height: 100% !important;
pointer-events: none !important;
font-family: Arial, sans-serif !important;
font-size: 36px !important;
line-height: 40px !important;
text-align: center !important;
}
.dgb-star-item.dgb-star-active::before {
content: '\2605' !important; color: #FFA500 !important;
}
.dgb-star-item.dgb-star-hover::before {
content: '\2605' !important;
color: #FFB733 !important;
}
.dgb-star-item:hover {
transform: scale(1.15) !important;
}
.dgb-star-item:active {
transform: scale(1.05) !important;
} .popular-activities {
margin-top: 15px;
}
.small-text {
font-size: 14px;
color: #666;
margin-bottom: 10px;
}
.activity-tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.activity-tag {
padding: 6px 12px;
background: var(--bg-light);
border: 1px solid var(--border-color);
border-radius: 20px;
font-size: 14px;
cursor: pointer;
transition: all 0.2s;
}
.activity-tag:hover {
background: var(--primary-color);
color: #fff;
border-color: var(--primary-color);
} .autocomplete-wrapper {
position: relative;
}
.autocomplete-results {
position: absolute;
top: 100%;
left: 0;
right: 0;
background: #fff;
border: 2px solid var(--primary-color);
border-top: none;
border-radius: 0 0 8px 8px;
max-height: 300px;
overflow-y: auto;
z-index: 1000;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
display: none;
}
.autocomplete-item {
padding: 12px 16px;
cursor: pointer;
transition: background 0.2s;
border-bottom: 1px solid var(--border-color);
font-size: 15px;
}
.autocomplete-item:last-child {
border-bottom: none;
}
.autocomplete-item:hover {
background: #fffbf0;
color: var(--secondary-color);
}
.autocomplete-item.no-results {
cursor: default;
color: #999;
font-style: italic;
}
.autocomplete-item.no-results:hover {
background: #fff;
} .image-upload-container {
margin-top: 10px;
}
.image-upload-label {
display: block;
padding: 60px 20px;
border: 3px dashed var(--border-color);
border-radius: 12px;
text-align: center;
cursor: pointer;
transition: all 0.3s;
background: var(--bg-light);
}
.image-upload-label:hover {
border-color: var(--primary-color);
background: #fffbf0;
}
.upload-icon {
font-size: 64px;
margin-bottom: 15px;
}
.upload-text {
font-size: 18px;
font-weight: 600;
color: var(--text-color);
margin-bottom: 8px;
}
.upload-hint {
font-size: 14px;
color: #666;
}
.image-preview {
text-align: center;
}
.image-preview img {
max-width: 100%;
max-height: 400px;
border-radius: 12px;
margin-bottom: 15px;
box-shadow: var(--shadow);
} .summary-content {
background: var(--bg-light);
padding: 30px;
border-radius: 12px;
margin-bottom: 20px;
}
.summary-item {
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 1px solid var(--border-color);
}
.summary-item:last-child {
border-bottom: none;
margin-bottom: 0;
}
.summary-item strong {
display: block;
margin-bottom: 8px;
color: var(--secondary-color);
font-size: 14px;
text-transform: uppercase;
}
.summary-item span,
.summary-item p {
color: var(--text-color);
font-size: 16px;
}
.summary-item .stars {
color: #ffa500;
margin-left: 10px;
}
.summary-experience p {
line-height: 1.6;
white-space: pre-wrap;
}
.summary-image {
max-width: 100%;
max-height: 300px;
border-radius: 8px;
margin-top: 10px;
} .dubai-guestbook-success {
text-align: center;
padding: 60px 20px;
background: #fff;
border-radius: 12px;
box-shadow: var(--shadow);
}
.success-icon {
width: 80px;
height: 80px;
background: #27ae60;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 48px;
margin: 0 auto 20px;
}
.dubai-guestbook-success h2 {
color: var(--secondary-color);
margin-bottom: 15px;
}
.dubai-guestbook-success p {
color: #666;
margin-bottom: 30px;
font-size: 16px;
}
.success-info {
background: #f0f8ff;
border: 2px solid var(--primary-color);
border-radius: 8px;
padding: 20px;
margin: 30px auto;
max-width: 600px;
text-align: left;
}
.success-info p {
margin-bottom: 15px;
font-size: 15px;
line-height: 1.6;
}
.success-info p:last-child {
margin-bottom: 0;
}
.success-info strong {
color: var(--secondary-color);
}
.success-info a {
color: var(--primary-color);
text-decoration: none;
font-weight: 600;
}
.success-info a:hover {
color: var(--accent-color);
text-decoration: underline;
} .error-message {
background: #fee;
color: var(--accent-color);
padding: 12px 16px;
border-radius: 8px;
margin-top: 15px;
border-left: 4px solid var(--accent-color);
}
.help-text.error {
color: var(--accent-color);
font-size: 14px;
margin-top: 10px;
} .guestbook-stats-box {
max-width: 800px;
margin: 30px auto 0;
padding: 30px;
background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 100%);
border-radius: 16px;
box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
border: 2px solid var(--primary-color);
display: flex;
align-items: center;
gap: 25px;
animation: slideInUp 0.6s ease;
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.stats-icon {
font-size: 64px;
line-height: 1;
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.1);
}
}
.stats-content {
flex: 1;
text-align: left;
}
.stats-number {
font-size: 48px;
font-weight: bold;
color: var(--primary-color);
line-height: 1;
margin-bottom: 8px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}
.stats-text {
font-size: 18px;
color: var(--text-color);
margin-bottom: 12px;
font-weight: 500;
}
.stats-cta {
font-size: 22px;
color: var(--secondary-color);
font-weight: 600;
font-style: italic;
} .guestbook-entries {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
} .filter-panel {
background: #fff;
border-radius: 12px;
padding: 25px;
margin-bottom: 30px;
box-shadow: var(--shadow);
border: 2px solid var(--border-color);
}
.filter-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
padding-bottom: 15px;
border-bottom: 2px solid var(--border-color);
}
.filter-header-left {
display: flex;
align-items: center;
gap: 12px;
}
.filter-header-right {
display: flex;
align-items: center;
gap: 10px;
}
.filter-badge {
background: var(--accent-color);
color: #fff;
font-size: 12px;
font-weight: bold;
padding: 4px 10px;
border-radius: 12px;
min-width: 24px;
text-align: center;
}
.filter-header h3 {
margin: 0;
color: var(--secondary-color);
font-size: 20px;
}
.filter-content {
max-height: 1000px;
overflow: hidden;
transition: max-height 0.3s ease, opacity 0.3s ease;
opacity: 1;
}
.filter-panel.collapsed .filter-content {
max-height: 0;
opacity: 0;
}
.filter-panel.collapsed .filter-header {
margin-bottom: 0;
padding-bottom: 0;
border-bottom: none;
}
.filter-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 20px;
}
.filter-item {
display: flex;
flex-direction: column;
}
.filter-item-full {
grid-column: 1 / -1;
}
.filter-item label {
font-weight: 600;
margin-bottom: 8px;
color: var(--text-color);
font-size: 14px;
}
.filter-input {
width: 100%;
}
.filter-results-info {
padding: 12px 16px;
background: #fffbf0;
border-left: 4px solid var(--primary-color);
border-radius: 4px;
font-size: 14px;
color: #666;
font-weight: 500;
}
.entries-grid {
display: flex;
flex-direction: column;
gap: 30px;
margin-bottom: 40px;
}
.entry-card {
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: var(--shadow);
transition: all 0.3s;
width: 100%;
max-width: 100%;
}
.entry-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-hover);
}
.entry-image {
width: 100%;
height: 250px;
overflow: hidden;
background: var(--bg-light);
position: relative;
cursor: pointer;
transition: transform 0.3s;
}
.entry-image:hover {
transform: scale(1.02);
}
.entry-image img {
width: 100%;
height: 100%;
object-fit: cover;
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
.lightbox-icon {
position: absolute;
bottom: 15px;
left: 15px;
background: rgba(0, 0, 0, 0.7);
color: white;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 20px;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
}
.entry-image:hover .lightbox-icon {
opacity: 1;
} .overall-rating-badge {
position: absolute;
top: 15px;
right: 15px;
background: linear-gradient(135deg, var(--primary-color), #e8c351);
color: #fff;
padding: 12px 18px;
border-radius: 12px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
text-align: center;
z-index: 10;
backdrop-filter: blur(10px);
}
.overall-rating-badge .rating-number {
font-size: 28px;
font-weight: bold;
line-height: 1;
margin-bottom: 5px;
display: block;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.overall-rating-badge .rating-label {
font-size: 10px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 5px;
display: block;
opacity: 0.9;
}
.overall-rating-badge .rating-stars {
font-size: 14px;
color: #fff;
letter-spacing: 2px;
} .overall-rating-inline {
display: flex;
align-items: center;
gap: 12px;
background: linear-gradient(135deg, var(--primary-color), #e8c351);
color: #fff;
padding: 15px 20px;
border-radius: 12px;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.overall-rating-inline .rating-number {
font-size: 36px;
font-weight: bold;
line-height: 1;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.overall-rating-inline .rating-label {
font-size: 12px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
opacity: 0.9;
}
.overall-rating-inline .rating-stars {
font-size: 18px;
color: #fff;
letter-spacing: 2px;
flex-grow: 1;
}
.entry-content {
padding: 25px;
}
.entry-header {
margin-bottom: 20px;
}
.entry-name {
margin: 0 0 8px;
font-size: 22px;
color: var(--secondary-color);
}
.entry-travel-type {
display: inline-block;
padding: 4px 12px;
background: var(--bg-light);
border-radius: 20px;
font-size: 14px;
color: #666;
}
.entry-travel-date {
margin: 12px 0;
padding: 8px 12px;
background: #fff9e6;
border-left: 3px solid var(--primary-color);
border-radius: 4px;
font-size: 14px;
color: #666;
font-weight: 500;
}
.entry-ratings {
margin-bottom: 20px;
}
.rating-item {
display: flex;
align-items: center;
margin-bottom: 10px;
font-size: 14px;
}
.rating-label {
min-width: 100px;
font-weight: 600;
}
.rating-value {
flex: 1;
margin-right: 10px;
}
.rating-item .stars {
color: #ffa500;
font-size: 16px;
white-space: nowrap;
}
.entry-experience {
margin-bottom: 15px;
color: var(--text-color);
line-height: 1.6;
font-size: 15px;
}
.dgb-experience-wrapper {
width: 100%;
}
.dgb-experience-text {
margin: 0 0 10px 0;
word-wrap: break-word;
}
.dgb-experience-text p {
margin: 0 0 15px 0;
line-height: 1.6;
}
.dgb-experience-text p:last-child {
margin-bottom: 0;
}
.dgb-experience-teaser {
display: inline;
}
.dgb-experience-dots {
display: inline;
font-weight: bold;
}
.dgb-experience-full {
display: none;
}
.dgb-read-more-btn {
display: inline-block;
background: var(--primary-color);
color: #fff;
border: none;
padding: 8px 16px;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
margin-top: 5px;
}
.dgb-read-more-btn:hover {
background: var(--accent-color);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.dgb-read-more-btn:active {
transform: translateY(0);
}
.entry-submission-date {
font-size: 13px;
color: #999;
border-top: 1px solid var(--border-color);
padding-top: 15px;
margin-top: 15px;
}
.entry-date {
font-size: 13px;
color: #999;
border-top: 1px solid var(--border-color);
padding-top: 15px;
} .pagination {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
margin-top: 40px;
}
.pagination-info {
font-weight: 600;
color: var(--text-color);
} .guestbook-entries-loading,
.guestbook-entries-error,
.guestbook-entries-empty {
text-align: center;
padding: 60px 20px;
color: #666;
font-size: 18px;
} .guestbook-lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
animation: fadeIn 0.3s ease;
}
.lightbox-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0, 0, 0, 0.9);
cursor: pointer;
}
.lightbox-content {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 95%;
max-height: 95%;
display: flex;
flex-direction: column;
align-items: center;
}
.lightbox-image {
max-width: 100%;
max-height: 85vh;
object-fit: contain;
border-radius: 8px;
box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
position: absolute;
top: -50px;
right: 0;
background: rgba(255, 255, 255, 0.2);
color: white;
border: none;
width: 50px;
height: 50px;
border-radius: 50%;
font-size: 36px;
cursor: pointer;
transition: all 0.3s;
display: flex;
align-items: center;
justify-content: center;
line-height: 1;
}
.lightbox-close:hover {
background: var(--primary-color);
transform: rotate(90deg);
}
.lightbox-title {
margin-top: 20px;
color: white;
font-size: 18px;
font-weight: 600;
text-align: center;
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
} @media (max-width: 768px) {
.lightbox-content {
max-width: 100%;
max-height: 100%;
width: 100%;
height: 100%;
padding: 0;
margin: 0;
}
.lightbox-image {
width: 100vw !important;
height: auto !important;
max-width: 100vw !important;
max-height: 100vh !important;
min-width: 100vw !important;
object-fit: contain !important;
border-radius: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
.lightbox-close {
top: 10px;
right: 10px;
width: 44px;
height: 44px;
font-size: 28px;
background: rgba(0, 0, 0, 0.8);
z-index: 10000;
}
.lightbox-title {
font-size: 14px;
margin-top: 10px;
padding: 0 10px;
position: absolute;
bottom: 20px;
left: 0;
right: 0;
text-align: center;
}
} @media (max-width: 768px) {
.step-card {
padding: 30px 20px;
}
.travel-type-grid,
.accommodation-type-grid {
grid-template-columns: repeat(2, 1fr);
}
.form-actions {
flex-direction: column;
}
.btn {
width: 100%;
}
.dgb-star-item {
width: 32px !important;
height: 32px !important;
font-size: 28px !important;
line-height: 32px !important;
}
.dgb-star-item::before {
font-size: 28px !important;
line-height: 32px !important;
}
.progress-steps {
gap: 5px;
}
.progress-step {
width: 30px;
height: 30px;
font-size: 12px;
}
.overall-rating-badge {
top: 10px;
right: 10px;
padding: 10px 14px;
}
.overall-rating-badge .rating-number {
font-size: 24px;
}
.overall-rating-badge .rating-stars {
font-size: 12px;
}
.overall-rating-inline {
padding: 12px 16px;
}
.overall-rating-inline .rating-number {
font-size: 28px;
}
.overall-rating-inline .rating-stars {
font-size: 16px;
} .filter-panel {
padding: 20px;
}
.filter-header {
flex-direction: column;
align-items: flex-start;
gap: 10px;
}
.filter-header h3 {
font-size: 18px;
}
.filter-grid {
grid-template-columns: 1fr;
gap: 15px;
}
}
@media (max-width: 480px) {
.dubai-guestbook-form {
padding: 10px;
}
.step-card h2 {
font-size: 22px;
}
.travel-type-icon,
.accommodation-type-icon {
font-size: 36px;
} .guestbook-stats-box {
flex-direction: column;
padding: 25px 20px;
text-align: center;
gap: 15px;
}
.stats-icon {
font-size: 48px;
}
.stats-content {
text-align: center;
}
.stats-number {
font-size: 36px;
}
.stats-text {
font-size: 16px;
}
.stats-cta {
font-size: 18px;
} .lightbox-close {
top: 10px;
right: 10px;
width: 40px;
height: 40px;
font-size: 28px;
}
.lightbox-title {
font-size: 16px;
margin-top: 15px;
}
.lightbox-icon {
width: 35px;
height: 35px;
font-size: 18px;
}
}