* {
	margin:0;
	padding:0;
	box-sizing:border-box;
}
body {
	font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
	background:#fef7ed;
	line-height: 1.6;
}
/* 헤더 (dashboard.html과 동일) */
.header {
	background:white;
	box-shadow:0 2px 4px rgba(0,0,0,0.1);
	position:sticky;
	top:0;
	z-index:100;
}
.nav {
	max-width:1200px;
	margin:0 auto;
	padding:0 20px;
	display:flex;
	justify-content:space-between;
	align-items:center;
	height:70px;
}
.logo {
	display:flex;
	align-items:center;
	gap:10px;
	font-size:24px;
	font-weight:bold;
	color:#f59e0b;
	text-decoration:none;
}
.user-menu {
	display:flex;
	align-items:center;
	gap:15px;
}
.user-avatar {
	width:40px;
	height:40px;
	background:#f59e0b;
	border-radius:50%;
	display:flex;
	align-items:center;
	justify-content:center;
	font-size:18px;
	color:white;
}
.logout-btn {
	background:#ef4444;
	color:white;
	border:none;
	padding:8px 16px;
	border-radius:6px;
	cursor:pointer;
	font-size:14px;
	transition:background-color 0.2s ease;
}
.logout-btn:hover {
	background: #dc2626;
}
/* 메인 컨텐츠 */
.main {
	max-width:1200px;
	margin:0 auto;
	padding:40px 20px;
}
.page-header {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-bottom:30px;
}
.page-header h1 {
	font-size:32px;
	color:#1f2937;
}
.add-cat-btn {
	background:#f59e0b;
	color:white;
	border:none;
	padding:12px 24px;
	border-radius:6px;
	cursor:pointer;
	font-size:16px;
	font-weight:500;
	transition:background-color 0.2s ease;
}
.add-cat-btn:hover {
	background: #d97706;
}
/* 고양이 목록 */
.cat-list {
	display:grid;
	grid-template-columns: repeat(2, minmax(280px, 1fr));
	gap:20px;
}
.cat-card {
	background:white;
	border-radius:12px;
	box-shadow:0 2px 4px rgba(0,0,0,0.1);
	overflow:hidden;
	display:flex;
	flex-direction:column;
	aspect-ratio: 1 / 1; 
}
.cat-card-img {
	width:100%;
	height:200px;
	object-fit:cover;
	background:#f3f4f6;
}
.cat-card-content {
	padding:20px;
	flex-grow:1;
}
.cat-card-content h3 {
	font-size:22px;
	color:#1f2937;
	margin-bottom:15px;
}
.cat-info {
	list-style:none;
	margin-bottom:20px;
}
.cat-info li {
	color:#6b7280;
	margin-bottom:8px;
}
.cat-info strong {
	color:#374151;
	margin-right:8px;
}
.cat-card-actions {
	padding:0 20px 20px;
	display:flex;
	gap:10px;
}
.action-btn {
	flex-grow:1;
	padding:10px;
	border-radius:6px;
	border:1px solid;
	background:transparent;
	cursor:pointer;
	font-weight:500;
	transition:all 0.2s ease;
}
.edit-btn {
	border-color:#ef4444;
	color:#ef4444;
}
.edit-btn:hover {
	background:#ef4444;
	color: white;
}
.delete-btn {
	border-color:#ef4444;
	color:#ef4444;
}
.delete-btn:hover {
	background:#ef4444;
	color: white;
}
/* 모달 (팝업) */
.modal-overlay {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.5);
	display:none;
	align-items:center;
	justify-content:center;
	z-index:200;
}
.modal-content {
	background:white;
	border-radius:8px;
	padding:30px;
	width:90%;
	max-width:500px;
	max-height:90vh;
	overflow-y:auto;
}
.modal-header {
	display:flex;
	justify-content:space-between;
	align-items:center;
	margin-bottom:20px;
}
.modal-header h2 {
	font-size:24px;
}
.close-btn {
	background:none;
	border:none;
	font-size:28px;
	cursor:pointer;
	color:#9ca3af;
}
.form-grid {
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:20px;
}
.form-group {
	margin-bottom:15px;
}
.form-group.full-width {
	grid-column:1 / -1;
}
.form-group label {
	display:block;
	font-weight:500;
	color:#374151;
	margin-bottom:6px;
	font-size:14px;
}
.form-group input,.form-group select,.form-group textarea {
	width:100%;
	padding:10px 14px;
	border:1px solid #d1d5db;
	border-radius:6px;
	font-size:14px;
}
.form-group textarea {
	resize:vertical;
	min-height:80px;
}
.modal-footer {
	margin-top:20px;
	text-align:right;
}
.modal-footer .submit-btn {
	background:#f59e0b;
	color:white;
	border:none;
	padding:12px 24px;
	border-radius:6px;
	cursor:pointer;
	font-size: 16px;
}
.edit-btn {
    margin-top: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.edit-btn:hover {
    background-color: #2980b9;
}

.delete-btn {
    margin-top: 10px;
    background-color: #3498db;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 4px;
}

.delete-btn {
    background-color: #2980b9;
}
.cat-actions {
	display: flex;
	gap: 8px;
	margin-top: 8px;
  }
  .cat-actions .btn {
	flex: 1 1 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	color: #fff;
  }
  .cat-actions .edit-btn { background: #3b82f6; }   /* 파랑 */
  .cat-actions .delete-btn { background: #ef4444; } /* 빨강 */
  .cat-actions .btn:hover { opacity: .92; }