.crs-review-form-wrapper {
max-width: 700px;
margin: 40px auto;
padding: 40px;
background: #ffffff;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
border: 1px solid #f0f0f0;
}
.crs-form-title {
margin: 0 0 30px;
font-size: 28px;
font-weight: 700;
color: #1a202c;
text-align: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
} .crs-form-field {
margin-bottom: 25px;
}
.crs-form-field label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #374151;
font-size: 14px;
}
.crs-form-field .required {
color: #ef4444;
}
.crs-form-field input[type="text"],
.crs-form-field input[type="email"],
.crs-form-field textarea {
width: 100%;
padding: 14px 18px;
border: 2px solid #e5e7eb;
border-radius: 12px;
font-size: 15px;
color: #1f2937;
transition: all 0.3s ease;
font-family: inherit;
}
.crs-form-field input:focus,
.crs-form-field textarea:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}
.crs-form-field textarea {
resize: vertical;
min-height: 120px;
}
.field-description {
margin: 6px 0 0;
font-size: 13px;
color: #9ca3af;
} .crs-rating-input {
display: flex;
flex-direction: row-reverse;
justify-content: flex-end;
gap: 8px;
font-size: 36px;
}
.crs-rating-input input[type="radio"] {
display: none;
}
.crs-rating-input label {
cursor: pointer;
color: #e5e7eb;
transition: all 0.2s ease;
margin: 0;
padding: 5px;
}
.crs-rating-input label:hover,
.crs-rating-input label:hover ~ label {
color: #fbbf24;
transform: scale(1.1);
}
.crs-rating-input input[type="radio"]:checked ~ label {
color: #fbbf24;
} .crs-file-upload-wrapper {
position: relative;
}
.crs-file-upload-wrapper input[type="file"] {
position: absolute;
width: 1px;
height: 1px;
opacity: 0;
overflow: hidden;
}
.crs-file-upload-label {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 20px;
border: 2px dashed #cbd5e1;
border-radius: 12px;
background: #f8fafc;
cursor: pointer;
transition: all 0.3s ease;
}
.crs-file-upload-label:hover {
border-color: #667eea;
background: #f0f4ff;
}
.upload-icon {
font-size: 48px;
margin-bottom: 12px;
}
.upload-text {
color: #64748b;
font-size: 14px;
} .crs-photo-preview {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
gap: 12px;
margin-top: 15px;
}
.crs-photo-preview-item {
position: relative;
aspect-ratio: 1;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.crs-photo-preview-item img {
width: 100%;
height: 100%;
object-fit: cover;
}
.crs-photo-remove {
position: absolute;
top: 5px;
right: 5px;
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.7);
color: white;
border: none;
border-radius: 50%;
cursor: pointer;
font-size: 14px;
line-height: 1;
transition: background 0.2s;
}
.crs-photo-remove:hover {
background: #ef4444;
} .crs-form-messages {
margin: 20px 0;
padding: 0;
}
.crs-form-message {
padding: 16px 20px;
border-radius: 12px;
margin-bottom: 15px;
font-size: 15px;
animation: slideIn 0.3s ease;
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(-10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.crs-form-message.success {
background: #d1fae5;
color: #065f46;
border: 1px solid #10b981;
}
.crs-form-message.error {
background: #fee2e2;
color: #991b1b;
border: 1px solid #ef4444;
} .crs-submit-btn {
width: 100%;
padding: 16px 32px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: #ffffff;
border: none;
border-radius: 12px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 14px rgba(102, 126, 234, 0.4);
position: relative;
overflow: hidden;
}
.crs-submit-btn:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}
.crs-submit-btn:active {
transform: translateY(0);
}
.crs-submit-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
}
.crs-submit-btn .btn-loader {
display: none;
}
.crs-submit-btn.loading .btn-text {
display: none;
}
.crs-submit-btn.loading .btn-loader {
display: inline-flex;
align-items: center;
gap: 10px;
}
.spinner {
width: 16px;
height: 16px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: #ffffff;
border-radius: 50%;
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
} @media (max-width: 768px) {
.crs-review-form-wrapper {
padding: 25px 20px;
margin: 20px;
}
.crs-form-title {
font-size: 24px;
}
.crs-rating-input {
font-size: 32px;
}
}