752 lines
17 KiB
SCSS
752 lines
17 KiB
SCSS
/* ====
|
|
--------- (3.02) forms styles start ---------
|
|
==== */
|
|
|
|
@use "../abstracts/mixins" as *;
|
|
|
|
// subscribe form
|
|
.subscribe-form {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
width: 100%;
|
|
max-width: 360px;
|
|
input {
|
|
flex-grow: 1;
|
|
padding: 22px 20px;
|
|
background-color: var(--enterprise-blue);
|
|
border-radius: 40px;
|
|
color: var(--white);
|
|
width: calc(100% - 70px);
|
|
}
|
|
|
|
button {
|
|
@include box(70px);
|
|
background-color: var(--enterprise-blue);
|
|
color: var(--primary-color);
|
|
font-size: 24px;
|
|
}
|
|
}
|
|
|
|
// blog search form
|
|
.search-form {
|
|
width: 100%;
|
|
position: relative;
|
|
|
|
input {
|
|
width: 100%;
|
|
border-bottom: 1px solid #22222250;
|
|
padding: 16px 40px;
|
|
color: var(--secondary-color);
|
|
&::placeholder {
|
|
color: var(--tertiary-color);
|
|
}
|
|
}
|
|
|
|
button {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0px;
|
|
transform: translateY(-50%);
|
|
color: var(--tertiary-color);
|
|
}
|
|
}
|
|
|
|
// ENTERPRISE CONTACT FORM STYLES
|
|
.enterprise-form {
|
|
background: linear-gradient(135deg, var(--white) 0%, var(--secondary-50) 100%);
|
|
border-radius: var(--radius-2xl);
|
|
padding: var(--space-8);
|
|
box-shadow:
|
|
0 25px 50px -12px rgba(0, 0, 0, 0.15),
|
|
0 0 0 1px rgba(255, 255, 255, 0.05),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
backdrop-filter: blur(10px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg,
|
|
var(--enterprise-blue) 0%,
|
|
var(--enterprise-gold) 50%,
|
|
var(--enterprise-blue) 100%);
|
|
border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
|
|
}
|
|
|
|
.form-section {
|
|
background: rgba(255, 255, 255, 0.7);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-8);
|
|
margin-bottom: var(--space-8);
|
|
border: 1px solid rgba(0, 0, 0, 0.05);
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
transition: var(--transition-all);
|
|
position: relative;
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.form-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-weight-semibold);
|
|
color: var(--secondary-800);
|
|
margin-bottom: var(--space-6);
|
|
padding-bottom: var(--space-3);
|
|
border-bottom: 2px solid var(--secondary-200);
|
|
position: relative;
|
|
|
|
i {
|
|
color: var(--enterprise-blue);
|
|
font-size: var(--text-xl);
|
|
width: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
&::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -2px;
|
|
left: 0;
|
|
width: 60px;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, var(--enterprise-blue), var(--enterprise-gold));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Enhanced input styling
|
|
.input-single {
|
|
position: relative;
|
|
margin-bottom: var(--space-6);
|
|
|
|
label {
|
|
display: block;
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--secondary-700);
|
|
margin-bottom: var(--space-2);
|
|
transition: var(--transition-colors);
|
|
|
|
&.required::after {
|
|
content: ' *';
|
|
color: var(--error);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
width: 100%;
|
|
padding: var(--space-4) var(--space-4);
|
|
font-size: var(--text-base);
|
|
color: var(--secondary-800);
|
|
background: var(--white);
|
|
border: 2px solid var(--secondary-200);
|
|
border-radius: var(--radius-lg);
|
|
transition: var(--transition-all);
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
position: relative;
|
|
|
|
&::placeholder {
|
|
color: var(--secondary-400);
|
|
font-style: italic;
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: var(--enterprise-blue);
|
|
box-shadow:
|
|
0 0 0 3px rgba(59, 130, 246, 0.1),
|
|
0 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
&:hover:not(:focus) {
|
|
border-color: var(--secondary-300);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
&.error {
|
|
border-color: var(--error);
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
|
|
}
|
|
|
|
&.success {
|
|
border-color: var(--success);
|
|
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
min-height: 120px;
|
|
resize: vertical;
|
|
font-family: inherit;
|
|
line-height: var(--leading-relaxed);
|
|
}
|
|
|
|
select {
|
|
cursor: pointer;
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
|
|
background-position: right var(--space-3) center;
|
|
background-repeat: no-repeat;
|
|
background-size: 1.5em 1.5em;
|
|
padding-right: var(--space-10);
|
|
appearance: none;
|
|
}
|
|
|
|
// Input validation states
|
|
&.has-error {
|
|
input, textarea, select {
|
|
border-color: var(--error);
|
|
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
|
|
}
|
|
}
|
|
|
|
&.has-success {
|
|
input, textarea, select {
|
|
border-color: var(--success);
|
|
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
|
|
}
|
|
}
|
|
|
|
// Floating label effect
|
|
&.floating-label {
|
|
label {
|
|
position: absolute;
|
|
top: var(--space-4);
|
|
left: var(--space-4);
|
|
color: var(--secondary-500);
|
|
transition: var(--transition-all);
|
|
pointer-events: none;
|
|
background: var(--white);
|
|
padding: 0 var(--space-2);
|
|
}
|
|
|
|
input:focus + label,
|
|
input:not(:placeholder-shown) + label {
|
|
top: -8px;
|
|
left: var(--space-3);
|
|
font-size: var(--text-xs);
|
|
color: var(--enterprise-blue);
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Enhanced checkbox styling
|
|
.checkbox-group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--space-4);
|
|
|
|
.checkbox-single {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: var(--space-3);
|
|
padding: var(--space-4);
|
|
background: rgba(255, 255, 255, 0.5);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid var(--secondary-200);
|
|
transition: var(--transition-all);
|
|
|
|
&:hover {
|
|
background: rgba(255, 255, 255, 0.8);
|
|
border-color: var(--secondary-300);
|
|
}
|
|
|
|
input[type="checkbox"] {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin: 0;
|
|
cursor: pointer;
|
|
appearance: none;
|
|
border: 2px solid var(--secondary-300);
|
|
border-radius: var(--radius-base);
|
|
background: var(--white);
|
|
position: relative;
|
|
transition: var(--transition-all);
|
|
flex-shrink: 0;
|
|
margin-top: 2px;
|
|
|
|
&:checked {
|
|
background: var(--enterprise-blue);
|
|
border-color: var(--enterprise-blue);
|
|
}
|
|
|
|
&:checked::after {
|
|
content: '✓';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
color: var(--white);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-bold);
|
|
}
|
|
|
|
&:focus {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
}
|
|
}
|
|
|
|
label {
|
|
cursor: pointer;
|
|
font-size: var(--text-sm);
|
|
line-height: var(--leading-relaxed);
|
|
color: var(--secondary-700);
|
|
margin: 0;
|
|
|
|
a {
|
|
color: var(--enterprise-blue);
|
|
text-decoration: none;
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Enhanced form status styling
|
|
.form-status {
|
|
padding: var(--space-4);
|
|
border-radius: var(--radius-lg);
|
|
margin: var(--space-6) 0;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
&.success {
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
color: var(--success);
|
|
|
|
i {
|
|
color: var(--success);
|
|
}
|
|
}
|
|
|
|
&.error {
|
|
background: rgba(239, 68, 68, 0.1);
|
|
border: 1px solid rgba(239, 68, 68, 0.2);
|
|
color: var(--error);
|
|
|
|
i {
|
|
color: var(--error);
|
|
}
|
|
}
|
|
|
|
.status-content {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
width: 100%;
|
|
|
|
.error-details {
|
|
margin-top: var(--space-2);
|
|
padding-left: var(--space-8);
|
|
|
|
small {
|
|
font-size: var(--text-sm);
|
|
color: var(--secondary-600);
|
|
line-height: var(--leading-relaxed);
|
|
|
|
a {
|
|
color: var(--enterprise-blue);
|
|
text-decoration: none;
|
|
font-weight: var(--font-weight-medium);
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Enhanced form actions
|
|
.form-actions {
|
|
text-align: center;
|
|
padding-top: var(--space-6);
|
|
border-top: 1px solid var(--secondary-200);
|
|
|
|
.enterprise-btn {
|
|
background: linear-gradient(135deg, var(--enterprise-blue) 0%, var(--enterprise-dark-blue) 100%);
|
|
border: none;
|
|
color: var(--white);
|
|
padding: var(--space-4) var(--space-8);
|
|
font-size: var(--text-lg);
|
|
font-weight: var(--font-weight-semibold);
|
|
border-radius: var(--radius-xl);
|
|
cursor: pointer;
|
|
transition: var(--transition-all);
|
|
box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
|
|
position: relative;
|
|
overflow: hidden;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-3);
|
|
min-width: 280px;
|
|
justify-content: center;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: -100%;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
|
transition: var(--transition-all);
|
|
}
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px 0 rgba(59, 130, 246, 0.4);
|
|
|
|
&::before {
|
|
left: 100%;
|
|
}
|
|
}
|
|
|
|
&:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.7;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
|
|
&:hover {
|
|
transform: none;
|
|
box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.3);
|
|
}
|
|
}
|
|
|
|
i {
|
|
transition: var(--transition-transform);
|
|
}
|
|
|
|
&:hover i {
|
|
transform: translateX(4px);
|
|
}
|
|
|
|
.fa-spinner {
|
|
animation: spin 1s linear infinite;
|
|
}
|
|
}
|
|
|
|
.form-disclaimer {
|
|
margin-top: var(--space-4);
|
|
font-size: var(--text-sm);
|
|
color: var(--secondary-500);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--space-2);
|
|
|
|
i {
|
|
color: var(--success);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Contact info cards enhancement
|
|
.contact-info-card {
|
|
background: linear-gradient(135deg, var(--white) 0%, var(--secondary-50) 100%);
|
|
border-radius: var(--radius-xl);
|
|
padding: var(--space-8);
|
|
text-align: center;
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
|
|
border: 1px solid rgba(255, 255, 255, 0.2);
|
|
transition: var(--transition-all);
|
|
position: relative;
|
|
overflow: hidden;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 3px;
|
|
background: linear-gradient(90deg, var(--enterprise-blue), var(--enterprise-gold));
|
|
}
|
|
|
|
&:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.contact-info-icon {
|
|
width: 80px;
|
|
height: 80px;
|
|
background: linear-gradient(135deg, var(--enterprise-blue), var(--enterprise-light-blue));
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin: 0 auto var(--space-6);
|
|
box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
|
|
|
|
i {
|
|
font-size: var(--text-2xl);
|
|
color: var(--white);
|
|
}
|
|
}
|
|
|
|
h4 {
|
|
font-size: var(--text-xl);
|
|
font-weight: var(--font-weight-bold);
|
|
color: var(--secondary-800);
|
|
margin-bottom: var(--space-2);
|
|
}
|
|
|
|
p {
|
|
color: var(--secondary-600);
|
|
margin-bottom: var(--space-4);
|
|
}
|
|
|
|
a {
|
|
display: block;
|
|
color: var(--enterprise-blue);
|
|
text-decoration: none;
|
|
font-weight: var(--font-weight-medium);
|
|
margin-bottom: var(--space-1);
|
|
transition: var(--transition-colors);
|
|
|
|
&:hover {
|
|
color: var(--enterprise-dark-blue);
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.contact-hours {
|
|
display: block;
|
|
font-size: var(--text-sm);
|
|
color: var(--success);
|
|
font-weight: var(--font-weight-medium);
|
|
margin-top: var(--space-3);
|
|
padding: var(--space-2) var(--space-4);
|
|
background: rgba(16, 185, 129, 0.1);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid rgba(16, 185, 129, 0.2);
|
|
}
|
|
|
|
address {
|
|
font-style: normal;
|
|
line-height: var(--leading-relaxed);
|
|
color: var(--secondary-700);
|
|
}
|
|
}
|
|
|
|
// Animations
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeInUp {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
|
|
// Form animation classes
|
|
.enterprise-form .form-section {
|
|
animation: fadeInUp 0.6s ease-out;
|
|
}
|
|
|
|
.enterprise-form .form-section:nth-child(2) {
|
|
animation-delay: 0.1s;
|
|
}
|
|
|
|
.enterprise-form .form-section:nth-child(3) {
|
|
animation-delay: 0.2s;
|
|
}
|
|
|
|
.enterprise-form .form-section:nth-child(4) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
// Contact section header enhancements
|
|
.contact-section-header {
|
|
text-align: center;
|
|
margin-bottom: var(--space-12);
|
|
|
|
.header-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
background: linear-gradient(135deg, var(--enterprise-blue), var(--enterprise-light-blue));
|
|
color: var(--white) !important;
|
|
padding: var(--space-3) var(--space-6);
|
|
border-radius: var(--radius-full);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-semibold);
|
|
margin-bottom: var(--space-6);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
animation: pulse 2s infinite;
|
|
|
|
i {
|
|
font-size: var(--text-base);
|
|
color: var(--white) !important;
|
|
}
|
|
|
|
span {
|
|
color: var(--white) !important;
|
|
}
|
|
}
|
|
|
|
.contact-subtitle {
|
|
font-size: var(--text-lg);
|
|
color: var(--secondary-600);
|
|
line-height: var(--leading-relaxed);
|
|
margin-bottom: var(--space-8);
|
|
max-width: 600px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.trust-indicators {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: var(--space-8);
|
|
flex-wrap: wrap;
|
|
margin-top: var(--space-8);
|
|
|
|
.trust-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
background: rgba(255, 255, 255, 0.8);
|
|
padding: var(--space-3) var(--space-4);
|
|
border-radius: var(--radius-lg);
|
|
border: 1px solid var(--secondary-200);
|
|
font-size: var(--text-sm);
|
|
font-weight: var(--font-weight-medium);
|
|
color: var(--secondary-700);
|
|
transition: var(--transition-all);
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
|
|
|
|
&:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
|
background: var(--white);
|
|
}
|
|
|
|
i {
|
|
color: var(--success);
|
|
font-size: var(--text-base);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Enhanced sidebar styling
|
|
.contact-sidebar-card {
|
|
.sidebar-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: var(--space-6);
|
|
|
|
.enterprise-badge {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--space-2);
|
|
background: linear-gradient(135deg, var(--enterprise-gold), var(--enterprise-light-gold));
|
|
color: var(--white);
|
|
padding: var(--space-2) var(--space-4);
|
|
border-radius: var(--radius-full);
|
|
font-size: var(--text-xs);
|
|
font-weight: var(--font-weight-bold);
|
|
box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
|
|
|
|
i {
|
|
font-size: var(--text-sm);
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar-features {
|
|
.feature-item {
|
|
.feature-content {
|
|
.feature-tags {
|
|
display: flex;
|
|
gap: var(--space-2);
|
|
margin-top: var(--space-3);
|
|
flex-wrap: wrap;
|
|
|
|
.tag {
|
|
background: rgba(59, 130, 246, 0.1);
|
|
color: var(--enterprise-blue);
|
|
padding: var(--space-1) var(--space-3);
|
|
border-radius: var(--radius-full);
|
|
font-size: var(--text-xs);
|
|
font-weight: var(--font-weight-medium);
|
|
border: 1px solid rgba(59, 130, 246, 0.2);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Pulse animation for header badge
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
transform: scale(1);
|
|
box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
|
|
}
|
|
50% {
|
|
transform: scale(1.05);
|
|
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
|
|
}
|
|
}
|
|
|
|
// Legacy contact form styles for backward compatibility
|
|
.contact-form {
|
|
.input-single {
|
|
margin-bottom: 30px;
|
|
&:nth-last-of-type(1) {
|
|
margin-bottom: 0px;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* ====
|
|
--------- (3.02) forms styles end ---------
|
|
==== */
|