#sansolia-debarras-app {
	max-width: 480px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1f2937;
	padding: 16px 12px 60px;
	box-sizing: border-box;
}

#sansolia-debarras-app * { box-sizing: border-box; }

.sd-progress {
	display: flex;
	gap: 6px;
	justify-content: center;
	margin-bottom: 20px;
}
.sd-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #e2e8f0;
}
.sd-dot-active { background: #2563eb; }

.sd-step h2 {
	font-size: 22px;
	margin: 0 0 4px;
}
.sd-sub {
	color: #6b7280;
	margin: 0 0 16px;
	font-size: 14px;
}

.sd-label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin: 12px 0 4px;
	color: #374151;
}

.sd-input {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	border: 1px solid #d1d5db;
	border-radius: 10px;
	background: #fff;
}
.sd-input:focus { outline: 2px solid #2563eb; border-color: transparent; }

.sd-actions {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}
.sd-actions .sd-btn { flex: 1; }

.sd-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 16px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 12px;
	border: none;
	cursor: pointer;
	text-align: center;
}
.sd-btn-primary { background: #2563eb; color: #fff; }
.sd-btn-primary:active { background: #1d4ed8; }
.sd-btn-secondary { background: #eef2ff; color: #2563eb; }
.sd-btn-ghost { background: transparent; color: #6b7280; }
.sd-btn-icon {
	background: #fee2e2;
	color: #dc2626;
	border: none;
	border-radius: 8px;
	width: 32px;
	height: 32px;
	font-size: 14px;
	cursor: pointer;
}

.sd-room-list { margin: 8px 0; }
.sd-room-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: #f9fafb;
	border-radius: 10px;
	margin-bottom: 8px;
}
.sd-room-name { font-size: 15px; font-weight: 500; }

.sd-add-row {
	display: flex;
	gap: 8px;
	margin-top: 12px;
	align-items: center;
}
.sd-add-row .sd-input { flex: 1; }
.sd-add-row .sd-btn { white-space: nowrap; }

.sd-notice {
	margin-top: 24px;
	padding: 14px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	border-radius: 10px;
}
.sd-notice p { margin: 0 0 10px; font-size: 14px; }
.sd-notice .sd-actions { margin-top: 0; }

.sd-photo-card {
	background: #f9fafb;
	border-radius: 14px;
	padding: 14px;
	margin-bottom: 16px;
}
.sd-photo-card-title { font-weight: 600; font-size: 16px; margin-bottom: 10px; }

.sd-photo-preview {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #e5e7eb;
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
}
.sd-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.sd-photo-placeholder { color: #9ca3af; font-size: 14px; }
.sd-photo-placeholder.sd-small { aspect-ratio: 4/3; width: 100%; display: flex; align-items: center; justify-content: center; background: #e5e7eb; border-radius: 8px; }

.sd-file-label { width: 100%; position: relative; overflow: hidden; }
.sd-file-input {
	position: absolute;
	inset: 0;
	opacity: 0;
	cursor: pointer;
	width: 100%;
	height: 100%;
}

.sd-review-row { margin-bottom: 18px; }
.sd-review-images { display: flex; gap: 8px; }
.sd-review-images img { width: 50%; border-radius: 8px; object-fit: cover; aspect-ratio: 4/3; }

.sd-center { text-align: center; padding-top: 40px; }
.sd-spinner {
	width: 42px;
	height: 42px;
	border: 4px solid #e5e7eb;
	border-top-color: #2563eb;
	border-radius: 50%;
	margin: 0 auto 20px;
	animation: sd-spin 0.8s linear infinite;
}
@keyframes sd-spin { to { transform: rotate(360deg); } }

.sd-success-icon, .sd-error-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin: 0 auto 16px;
}
.sd-success-icon { background: #dcfce7; color: #16a34a; }
.sd-error-icon { background: #fee2e2; color: #dc2626; }

/* --- Ajouts v1.1.0 : logo, autocomplétion client, commentaire --- */
.sd-header {
	text-align: center;
	margin-bottom: 12px;
}
.sd-logo {
	max-width: 160px;
	max-height: 60px;
}

.sd-suggestions {
	margin-top: -4px;
	margin-bottom: 4px;
}
.sd-suggestion-item {
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-top: none;
	font-size: 14px;
	cursor: pointer;
}
.sd-suggestion-item:hover,
.sd-suggestion-item:active {
	background: #f3f4f6;
}

.sd-textarea {
	resize: vertical;
	min-height: 70px;
	font-family: inherit;
}

.sd-photo-timestamp {
	text-align: center;
	font-size: 12px;
	color: #6b7280;
	margin: -4px 0 10px;
}
