/* Styles from applications.php */
.cloudi7-icg-applicant-box { display: flex; align-items: center; gap: 10px; }
.cloudi7-icg-mini-photo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid #ddd; }
.cloudi7-icg-badge { padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; display: inline-block; }
.cloudi7-icg-status-pending { background: #fff8e1; color: #f57c00; border: 1px solid #ffe0b2; }
.cloudi7-icg-status-approved { background: #e8f5e9; color: #2e7d32; border: 1px solid #c8e6c9; }
.cloudi7-icg-status-rejected { background: #ffebee; color: #c62828; border: 1px solid #ffcdd2; }
.cloudi7-icg-type-badge { background: #f0f0f1; padding: 2px 6px; border-radius: 4px; font-size: 11px; color: #3c434a; }
.cloudi7-icg-app-details-col { font-size: 11px; line-height: 1.4; color: #50575e; }
.action-approve { background: #2e7d32 !important; border-color: #2e7d32 !important; color: white !important; }
.action-approve:hover { background: #1b5e20 !important; }
.action-reject { background: #c62828 !important; border-color: #c62828 !important; color: white !important; }
.action-reject:hover { background: #b71c1c !important; }
.action-delete { color: #d63638 !important; }

/* Styles from templates.php */
.cloudi7-icg-template-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
	margin-top: 20px;
}
.cloudi7-icg-template-item {
	background: #fff;
	border: 1px solid #ccd0d4;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.2s ease-in-out;
	cursor: pointer;
}
.cloudi7-icg-template-item:hover {
	border-color: #2271b1;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.cloudi7-icg-template-item.active {
	border-color: #2271b1;
	border-width: 2px;
}
.cloudi7-icg-template-preview img {
	width: 100%;
	height: auto;
	display: block;
	border-bottom: 1px solid #ccd0d4;
}
.cloudi7-icg-template-info {
	padding: 15px;
}
.cloudi7-icg-template-info input {
	margin-right: 10px;
}
.cloudi7-icg-template-info strong {
	display: inline-block;
	font-size: 16px;
	margin-bottom: 5px;
}
.cloudi7-icg-template-info p {
	margin: 5px 0 0 25px;
	color: #646970;
}

/* Styles from apply-form.php */
.cloudi7-icg-apply-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    padding: 40px;
    border: 1px solid #f0f0f0;
}
.cloudi7-icg-apply-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f8fafc;
    padding-bottom: 20px;
}
.cloudi7-icg-apply-header h2 { margin: 0; color: #1e293b; font-size: 28px; }
.cloudi7-icg-apply-header p { color: #64748b; margin-top: 10px; }

.cloudi7-icg-form-section { margin-bottom: 30px; }
.cloudi7-icg-form-section h3 { font-size: 18px; color: #334155; margin-bottom: 20px; border-left: 4px solid #2563eb; padding-left: 15px; }

.cloudi7-icg-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cloudi7-icg-form-group { margin-bottom: 20px; display: flex; flex-direction: column; }
.cloudi7-icg-form-group label { font-weight: 600; color: #475569; margin-bottom: 8px; font-size: 14px; }
.cloudi7-icg-form-group label span { color: #ef4444; }
.cloudi7-icg-form-group input, .cloudi7-icg-form-group textarea {
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}
.cloudi7-icg-form-group input:focus { border-color: #2563eb; outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.cloudi7-icg-form-group small { color: #94a3b8; font-size: 12px; margin-top: 5px; }

.cloudi7-icg-btn-large { width: 100%; padding: 15px; font-size: 16px; border-radius: 8px; }

.cloudi7-icg-success {
    text-align: center;
    padding: 40px;
    color: #065f46;
}
.cloudi7-icg-success .dashicons { font-size: 64px; width: 64px; height: 64px; color: #10b981; margin-bottom: 20px; }
.cloudi7-icg-success h3 { margin-bottom: 10px; }

@media (max-width: 768px) {
    .cloudi7-icg-form-row { grid-template-columns: 1fr; }
    .cloudi7-icg-apply-container { padding: 25px; }
}
