.quotes-page-header {
background: linear-gradient(135deg, #59837d 0%, #3d5a56 100%);
border-radius: 20px;
padding: 40px;
margin-bottom: 40px;
color: white;
position: relative;
overflow: hidden;
}
.quotes-page-header::before {
content: '';
position: absolute;
top: -50%;
right: -20%;
width: 400px;
height: 400px;
background: rgba(255, 255, 255, 0.1);
border-radius: 50%;
z-index: 1;
}
.page-title-wrapper {
text-align: center;
margin-bottom: 30px;
position: relative;
z-index: 2;
}
.page-title {
color: white;
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 15px;
display: flex;
align-items: center;
justify-content: center;
gap: 15px;
line-height: 1.2;
}
.page-title i {
font-size: 36px;
color: rgba(255, 255, 255, 0.9);
}
.page-subtitle {
color: rgba(255, 255, 255, 0.9);
font-size: 1.1rem;
line-height: 1.6;
max-width: 600px;
margin: 0 auto;
opacity: 0.9;
} .quotes-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-top: 30px;
position: relative;
z-index: 2;
}
.stat-card {
background: white;
border-radius: 16px;
padding: 25px;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
border: 1px solid rgba(255,255,255,0.2);
display: flex;
align-items: center;
gap: 20px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.stat-card .stat-icon {
width: 60px;
height: 60px;
border-radius: 12px;
background: linear-gradient(135deg, #59837d 0%, #3d5a56 100%);
display: flex;
align-items: center;
justify-content: center;
font-size: 24px;
color: white;
}
.stat-card.pending .stat-icon {
background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
}
.stat-card.approved .stat-icon {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}
.stat-card.rejected .stat-icon {
background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}
.stat-content {
flex: 1;
}
.stat-number {
font-size: 2rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 5px;
line-height: 1;
}
.stat-label {
color: #6c757d;
font-size: 14px;
font-weight: 500;
} .quotes-page-content {
margin-bottom: 40px;
}
.quotes-container-wrapper {
background: #fff;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.04);
overflow: hidden;
border: 1px solid #f0f0f0;
} .logged-in-content {
padding: 30px;
} .guest-content {
padding: 30px;
}
.guest-login-section {
margin-bottom: 40px;
}
.login-card,
.guest-search-card {
background: #F1F3FF;
border-radius: 12px;
padding: 30px;
text-align: center;
height: 100%;
display: flex;
flex-direction: column;
border: 2px solid transparent;
transition: all 0.3s ease;
}
.login-card:hover,
.guest-search-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
border-color: #59837d;
}
.card-icon {
margin-bottom: 20px;
}
.card-icon i {
font-size: 48px;
color: #59837d;
}
.login-card h3,
.guest-search-card h3 {
color: 59837d;
font-size: 22px;
font-weight: 700;
margin-bottom: 15px;
}
.login-card p,
.guest-search-card p {
color: #666;
font-size: 14px;
line-height: 1.6;
margin-bottom: 25px;
flex-grow: 1;
} .btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 15px 25px;
border-radius: 8px;
font-weight: 600;
font-size: 16px;
text-decoration: none;
transition: all 0.3s ease;
border: none;
cursor: pointer;
min-width: 140px;
}
.btn-primary {
background: linear-gradient(135deg, #59837d 0%, #3d5a56 100%);
color: #fff;
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(89, 131, 125, 0.3);
color: #fff;
}
.btn-secondary {
background: 59837d;
color: #fff;
}
.btn-secondary:hover {
background: #282473;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(50, 46, 138, 0.3);
color: #fff;
} .guest-email-form {
margin-top: 20px;
}
.form-group {
display: flex;
gap: 10px;
align-items: stretch;
}
.guest-email-form input[type="email"] {
flex: 1;
padding: 15px;
border: 2px solid #e5e5e5;
border-radius: 8px;
font-size: 16px;
background: #fff;
transition: all 0.3s ease;
}
.guest-email-form input[type="email"]:focus {
border-color: #59837d;
outline: none;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
} .guest-results {
margin-top: 30px;
padding-top: 30px;
border-top: 2px solid #f0f0f0;
}
.results-header {
background: #fff6ee;
border-radius: 8px;
padding: 20px;
margin-bottom: 25px;
border-left: 4px solid #FFB800;
}
.results-header h3 {
color: 59837d;
font-size: 18px;
font-weight: 600;
margin: 0;
display: flex;
align-items: center;
gap: 10px;
}
.results-header i {
color: #FFB800;
} .quotes-help-section {
margin-top: 40px;
}
.help-card {
background: linear-gradient(135deg, #59837d 0%, #3d5a56 100%);
border-radius: 12px;
padding: 30px;
color: #fff;
display: flex;
align-items: center;
gap: 25px;
}
.help-icon i {
font-size: 48px;
color: rgba(255,255,255,0.9);
}
.help-content h4 {
color: #fff;
font-size: 22px;
font-weight: 700;
margin-bottom: 20px;
}
.help-steps {
display: flex;
flex-direction: column;
gap: 15px;
}
.step {
display: flex;
align-items: center;
gap: 15px;
}
.step-number {
background: rgba(255,255,255,0.2);
color: #fff;
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 16px;
flex-shrink: 0;
}
.step-text {
color: rgba(255,255,255,0.9);
font-size: 16px;
line-height: 1.4;
} .quotes-container-wrapper .emayetel-quotes-container {
max-width: none;
margin: 0;
}
.quotes-container-wrapper .quote-filters {
background: white;
padding: 25px;
margin: -30px -30px 30px -30px;
border-bottom: 1px solid #e9ecef;
border-radius: 16px 16px 0 0;
}
.quotes-container-wrapper .filter-buttons {
justify-content: center;
gap: 15px;
}
.quotes-container-wrapper .filter-btn {
background: white;
border: 2px solid #59837d;
color: #59837d;
padding: 12px 24px;
border-radius: 25px;
font-weight: 600;
font-size: 14px;
transition: all 0.3s ease;
text-decoration: none;
white-space: nowrap;
}
.quotes-container-wrapper .filter-btn:hover,
.quotes-container-wrapper .filter-btn.active {
background: #59837d;
border-color: #59837d;
color: white;
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(89, 131, 125, 0.3);
text-decoration: none;
}
.quotes-container-wrapper .quote-item {
background: white;
border: 1px solid rgba(255,255,255,0.2);
border-radius: 16px;
margin-bottom: 25px;
transition: all 0.3s ease;
overflow: hidden;
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.quotes-container-wrapper .quote-item:hover {
transform: translateY(-8px);
box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
.quotes-container-wrapper .quote-header {
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
padding: 20px 25px;
border-bottom: 1px solid #e9ecef;
}
.quotes-container-wrapper .quote-content {
padding: 25px;
} .quotes-container-wrapper .quote-products {
display: grid;
gap: 15px;
margin-bottom: 20px;
}
.quotes-container-wrapper .product-item-card {
display: flex;
align-items: center;
gap: 15px;
padding: 15px;
background: #f8f9fa;
border-radius: 12px;
border: 1px solid #e9ecef;
transition: all 0.3s ease;
}
.quotes-container-wrapper .product-image {
width: 80px;
height: 80px;
border-radius: 8px;
overflow: hidden;
flex-shrink: 0;
background: #e9ecef;
display: flex;
align-items: center;
justify-content: center;
}
.quotes-container-wrapper .product-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.quotes-container-wrapper .no-image {
color: #6c757d;
font-size: 24px;
}
.quotes-container-wrapper .product-details {
flex: 1;
}
.quotes-container-wrapper .product-name {
margin: 0 0 8px 0;
font-size: 16px;
font-weight: 600;
color: #2c3e50;
}
.quotes-container-wrapper .product-name a {
color: #59837d;
text-decoration: none;
transition: color 0.3s ease;
}
.quotes-container-wrapper .product-name a:hover {
color: #5a6fd8;
text-decoration: none;
}
.quotes-container-wrapper .product-meta {
display: flex;
flex-direction: column;
gap: 4px;
}
.quotes-container-wrapper .product-meta span {
font-size: 14px;
color: #6c757d;
}
.quotes-container-wrapper .original-price {
font-weight: 500;
color: #28a745 !important;
}
.quotes-container-wrapper .quote-price-summary {
background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
padding: 15px 20px;
border-radius: 12px;
margin: 20px 0;
border-left: 4px solid #28a745;
}
.quotes-container-wrapper .price-label {
font-size: 14px;
color: #155724;
font-weight: 500;
margin-bottom: 5px;
}
.quotes-container-wrapper .price-amount {
font-size: 24px;
font-weight: 700;
color: #155724;
}
.quotes-container-wrapper .quote-actions {
display: flex;
flex-direction: column;
gap: 10px;
min-width: 150px;
}
.quotes-container-wrapper .quote-actions .button {
border-radius: 25px;
font-weight: 600;
font-size: 14px;
padding: 12px 20px;
transition: all 0.3s ease;
border: 2px solid transparent;
white-space: nowrap;
}
.quotes-container-wrapper .quote-actions .button:hover {
transform: translateY(-2px);
}
.quotes-container-wrapper .quote-actions .button-primary {
background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
border: none;
color: white;
}
.quotes-container-wrapper .quote-actions .button-primary:hover {
box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
color: white;
}
.quotes-container-wrapper .view-details {
background: white;
border: 2px solid #59837d;
color: #59837d;
}
.quotes-container-wrapper .view-details:hover {
background: #59837d;
color: white;
box-shadow: 0 8px 25px rgba(89, 131, 125, 0.3);
} @media (max-width: 768px) {
.quotes-page-header {
padding: 20px;
margin-bottom: 20px;
}
.page-title {
font-size: 24px;
flex-direction: column;
gap: 10px;
}
.page-title i {
font-size: 28px;
}
.quotes-stats {
grid-template-columns: repeat(2, 1fr);
gap: 15px;
}
.stat-card {
padding: 20px 15px;
}
.stat-number {
font-size: 28px;
}
.quotes-container-wrapper,
.logged-in-content,
.guest-content {
padding: 20px;
}
.login-card,
.guest-search-card {
padding: 25px 20px;
margin-bottom: 20px;
}
.form-group {
flex-direction: column;
gap: 15px;
}
.help-card {
flex-direction: column;
text-align: center;
gap: 20px;
}
.help-steps {
align-items: center;
}
.step {
flex-direction: column;
text-align: center;
gap: 10px;
}
.quotes-container-wrapper .quote-filters {
margin: -20px -20px 20px -20px;
padding: 15px;
}
.quotes-container-wrapper .filter-buttons {
flex-wrap: wrap;
gap: 8px;
}
.quotes-container-wrapper .filter-btn {
padding: 10px 16px;
font-size: 14px;
}
}
@media (max-width: 480px) {
.quotes-stats {
grid-template-columns: 1fr;
}
.page-title {
font-size: 20px;
}
.stat-number {
font-size: 24px;
}
.help-card {
padding: 20px;
}
.help-content h4 {
font-size: 18px;
}
} @keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.quotes-page-header,
.quotes-container-wrapper,
.quotes-help-section {
animation: fadeInUp 0.6s ease-out;
}
.stat-card {
animation: fadeInUp 0.6s ease-out;
}
.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; } .loading-spinner {
display: inline-block;
width: 20px;
height: 20px;
border: 2px solid #f3f3f3;
border-top: 2px solid #59837d;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
} .quote-message {
padding: 15px 20px;
border-radius: 8px;
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 10px;
font-weight: 500;
}
.quote-message.success {
background: #d4edda;
color: #155724;
border: 1px solid #c3e6cb;
}
.quote-message.error {
background: #f8d7da;
color: #721c24;
border: 1px solid #f5c6cb;
}
.quote-message.info {
background: #d1ecf1;
color: #0c5460;
border: 1px solid #bee5eb;
}
.quote-message i {
font-size: 18px;
}