/**
 * Text Connect Pro - My Account Styles
 */

/* Recipient card */
.tcp-my-recipient {
	background: #fff;
	border: 1px solid #e1e5e9;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tcp-my-recipient h4 {
	margin: 0 0 15px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
	color: #333;
	font-size: 1.1em;
}

.tcp-my-recipient .status-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 500;
	margin-left: 10px;
	vertical-align: middle;
}

.tcp-my-recipient .status-active {
	background-color: #d4edda;
	color: #155724;
}

.tcp-my-recipient .status-paused {
	background-color: #fff3cd;
	color: #856404;
}

.tcp-my-recipient .status-cancelled {
	background-color: #f8d7da;
	color: #721c24;
}

/* Form fields in My Account */
.tcp-my-recipient .form-row {
	margin-bottom: 12px;
}

.tcp-my-recipient label {
	display: block;
	margin-bottom: 5px;
	font-weight: 500;
	color: #333;
}

.tcp-my-recipient input[type="text"],
.tcp-my-recipient input[type="tel"],
.tcp-my-recipient select {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 1em;
}

.tcp-my-recipient input[type="text"]:focus,
.tcp-my-recipient input[type="tel"]:focus,
.tcp-my-recipient select:focus {
	border-color: #007cba;
	outline: none;
	box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.15);
}

/* Two column layout for name fields */
.tcp-my-recipient .tcp-name-fields {
	display: flex;
	gap: 15px;
}

.tcp-my-recipient .tcp-name-fields .form-row {
	flex: 1;
}

/* Phone display format hint */
.tcp-my-recipient .field-hint {
	font-size: 0.85em;
	color: #666;
	margin-top: 5px;
}

/* Save button */
.tcp-recipients-form .woocommerce-Button {
	margin-top: 10px;
}

/* Empty state */
.tcp-no-recipients {
	text-align: center;
	padding: 40px 20px;
	background: #f9f9f9;
	border-radius: 6px;
}

.tcp-no-recipients p {
	color: #666;
	margin: 0;
}

/* Responsive */
@media screen and (max-width: 600px) {
	.tcp-my-recipient .tcp-name-fields {
		flex-direction: column;
		gap: 0;
	}
}

