.csg-public-quotes-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.csg-form-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.csg-field-group {
    margin-bottom: 15px;
}

.csg-field-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.csg-field-group input,
.csg-field-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.csg-field-group input:focus,
.csg-field-group select:focus {
    border-color: #007cba;
    outline: none;
}

.csg-checkbox {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.csg-checkbox label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.csg-checkbox input {
    width: auto;
    margin-right: 10px;
}

.csg-submit-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.csg-submit-btn:hover {
    background: #005a87;
}

.csg-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.csg-loading {
    text-align: center;
    padding: 40px;
}

.csg-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007cba;
    border-radius: 50%;
    animation: csg-spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes csg-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.csg-results-container {
    margin-top: 30px;
}

.csg-quote-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.csg-quote-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.csg-quote-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.csg-carrier {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

.csg-premium {
    font-size: 24px;
    font-weight: 800;
    color: #27ae60;
}

.csg-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.csg-detail-item {
    margin-bottom: 5px;
}

.csg-detail-label {
    font-weight: 600;
    margin-right: 5px;
}

.csg-error {
    background: #fee;
    color: #c00;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #fcc;
    margin: 15px 0;
}

.csg-no-results {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .csg-form-fields {
        grid-template-columns: 1fr;
    }
    
    .csg-quote-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .csg-premium {
        margin-top: 10px;
    }
    
    .csg-details {
        grid-template-columns: 1fr;
    }
}