/*! lystark-29040a build 2026-05-25 • do not edit; regenerated on deploy */
/* Profile Display Styles */
.crm-user-profile {
  max-width: 600px;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.crm-profile-field {
  display: flex;
  margin-bottom: 15px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.crm-profile-field:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.crm-profile-field label {
  font-weight: 600;
  color: #333;
  min-width: 120px;
  margin-right: 15px;
  display: inline-block;
}

.crm-profile-field span {
  color: #666;
  flex: 1;
}

/* Profile Edit Form Styles */
.crm-user-profile-edit {
  max-width: 600px;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.crm-form-group {
  margin-bottom: 20px;
}

.crm-form-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
}

.crm-form-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.crm-form-group input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 1px #007cba;
}

.crm-form-group input:required {
  border-left: 3px solid #007cba;
}

.crm-form-actions {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Button Styles */
.crm-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  line-height: 1.4;
}

.crm-btn-primary {
  background-color: #007cba;
  color: #fff;
}

.crm-btn-primary:hover {
  background-color: #005a87;
}

.crm-btn-secondary {
  background-color: #f1f1f1;
  color: #333;
  border: 1px solid #ddd;
}

.crm-btn-secondary:hover {
  background-color: #e1e1e1;
}

.crm-btn-danger {
  background-color: #dc3232;
  color: #fff;
}

.crm-btn-danger:hover {
  background-color: #aa2424;
}

.crm-btn:disabled,
.crm-btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Loading State */
.crm-btn.loading {
  position: relative;
  opacity: 0.7;
  pointer-events: none;
}

.crm-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: crm-spin 1s linear infinite;
}

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

/* Message Styles */
.crm-message {
  margin: 15px 0;
  padding: 12px 15px;
  border-radius: 4px;
  font-size: 14px;
}

.crm-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.crm-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.crm-message.info {
  background-color: #d1ecf1;
  color: #0c5460;
  border: 1px solid #bee5eb;
}

.crm-error {
  color: #dc3232;
  font-weight: 600;
  padding: 10px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 4px;
  margin: 10px 0;
}

.crm-info {
  color: #0c5460;
  padding: 10px;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: 4px;
  margin: 10px 0;
}

/* Subscription Details Styles */
.crm-subscription-details {
  max-width: 800px;
  margin: 20px 0;
}

.crm-subscription-item {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.crm-subscription-item:last-child {
  margin-bottom: 0;
}

.crm-subscription-name {
  margin: 0 0 20px 0;
  color: #333;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 2px solid #007cba;
  padding-bottom: 10px;
}

.crm-subscription-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.crm-subscription-field {
  display: flex;
  flex-direction: column;
}

.crm-subscription-field label {
  font-weight: 600;
  color: #333;
  margin-bottom: 3px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crm-subscription-field span {
  color: #666;
  font-size: 14px;
  padding: 5px 0;
}

/* Status Indicators */
.crm-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crm-status-active {
  background-color: #d4edda;
  color: #155724;
}

.crm-status-trial {
  background-color: #fff3cd;
  color: #856404;
}

.crm-status-canceled {
  background-color: #f8d7da;
  color: #721c24;
}

.crm-status-paused {
  background-color: #e2e3e5;
  color: #383d41;
}

.crm-subscription-actions {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.crm-subscription-message {
  margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .crm-user-profile,
    .crm-user-profile-edit,
    .crm-subscription-item {
  margin: 10px 0;
  padding: 15px;
}
    
    .crm-profile-field {
  flex-direction: column;
  align-items: flex-start;
}
    
    .crm-profile-field label {
  min-width: auto;
  margin-right: 0;
  margin-bottom: 5px;
}
    
    .crm-subscription-info {
  grid-template-columns: 1fr;
  gap: 10px;
}
    
    .crm-form-actions {
  flex-direction: column;
}
    
    .crm-btn {
  width: 100%;
  text-align: center;
}
}

@media (max-width: 480px) {
    .crm-user-profile,
    .crm-user-profile-edit,
    .crm-subscription-item {
  padding: 10px;
  margin: 5px 0;
}
    
    .crm-subscription-name {
  font-size: 16px;
}
}

/* Print Styles */
@media print {
    .crm-btn,
    .crm-form-actions,
    .crm-subscription-actions {
  display: none !important;
}
    
    .crm-user-profile,
    .crm-user-profile-edit,
    .crm-subscription-item {
  box-shadow: none;
  border: 1px solid #ddd;
  page-break-inside: avoid;
}
}
