.profileEditor {
    height: 100%;
    width: 100%;
    overflow: auto;
}

.updateProfileResponse {
    font-size: 18px;
    color: green;
}

.buddyGeoFlag {
    width: 16px;
    height: 16px;
}

/* .yourApps is a table and should look nice with alternating row colors */
.yourApps {
    width: 400px !important;
}
.yourApps tr:nth-child(even) {
    background-color: #f0f0f0;
}
.yourApps tr:hover {
    background-color: #ccc;
}

.appStoreIcon {
    width: 32px;
    height: 32px;
}

.appsContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.profileEditor {
    display: none;
}

.iframeProfile {
    border: 3px solid #ccc;
    background-color: white;
}

.editor-content {
    /*display: flex; */
    flex-direction: row;
    gap: 10px;
    width: 100%;
    height: 100%;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 10px;

}

.file-tree {
    padding-left: 10px;
}

.share-your-pad {
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 18px;
    justify-content: center;
}

.editor-controls {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding-left: 20px;
    margin-top: 10px;
}

.wallpaperSettings {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.wallpaperUrl {
  display: none;
}

.wallpaperUrlInput {
    width: 300px !important;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Row and Column Layout */
.aim-profile-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* margin: 16px 0; */
}

.aim-profile-column {
    flex: 1;
    min-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.aim-profile-picture-column {
    flex: 2; /* Slightly wider for profile picture section */
}

.aim-pad-editor-column {
    flex: 100%; /* Full width for second row */
}

/* Set Password and Email Button */
.aim-set-password-email {
}

.aim-set-password-email:hover {
}

/* Style for Edit Your Profile Button (consistent with new button) */
.open-app.desktopButton {
    padding: 10px 20px;
    background: #3b82f6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s;
    width: 100%;
    text-align: center;
}

.open-app.desktopButton:hover {
    background: #1d4ed8;
}

/* Pad Editor Holder */
.profile-pad-editor-holder {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 100px;
    width: 100%;
    padding: 16px;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .aim-profile-row {
        flex-direction: column;
    }

    .aim-profile-column {
        min-width: 100%;
    }

    .aim-profile-picture-column {
        flex: 1;
    }
}

/* Existing Styles (unchanged, included for context) */
.aim-profile-picture-section {
    display: flex;
    flex-direction: column; /* Stack container and status vertically */
    align-items: center; /* Center content */
    gap: 12px; /* Space between container and status */
    margin: 16px 0;
    padding: 12px;
    border-radius: 8px;
}

.aim-profile-picture-container {
    display: flex;
    align-items: center;
    gap: 16px; /* Maintain horizontal gap between preview and actions */
    width: 100%; /* Ensure full width for alignment */
    justify-content: center; /* Center preview and actions */
}

.aim-profile-picture-preview {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: #fff;
}

.aim-profile-picture-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aim-profile-picture-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aim-profile-picture-upload {
    display: inline-block;
    padding: 8px 16px;
    background: #3b82f6;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    transition: background 0.2s;
}

.aim-profile-picture-upload:hover {
    background: #1d4ed8;
}

.aim-profile-picture-remove {
    padding: 8px 16px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.aim-profile-picture-remove:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.aim-profile-picture-upload-status {
    font-size: 14px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.aim-profile-picture-upload-status.uploading .status-text {
    color: #007bff; /* Blue for uploading */
}

.aim-profile-picture-upload-status.success .status-text {
    color: #28a745; /* Green for success */
}

.aim-profile-picture-upload-status.error .status-text {
    color: #dc3545; /* Red for error */
}

.aim-profile-picture-upload-status.hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .aim-profile-picture-section {
        align-items: stretch; /* Ensure full width on small screens */
    }

    .aim-profile-picture-container {
        flex-direction: column; /* Stack preview and actions vertically */
        align-items: center;
    }

    .aim-profile-picture-actions {
        width: 100%;
        align-items: stretch;
    }

    .aim-profile-picture-upload,
    .aim-profile-picture-remove {
        width: 100%;
    }
}


/* Other existing styles remain unchanged */
.profileEditor {
    height: 100%;
    width: 100%;
    overflow: auto;
}

.share-your-pad {
    display: flex;
    flex-direction: row;
    gap: 10px;
    font-size: 18px;
    justify-content: center;
}

.aim-profile-picture-upload-status {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
    transition: opacity 0.3s ease;
}

.aim-profile-picture-upload-status.uploading .status-text {
    color: #007bff; /* Blue for uploading */
}

.aim-profile-picture-upload-status.success .status-text {
    color: #28a745; /* Green for success */
}

.aim-profile-picture-upload-status.error .status-text {
    color: #dc3545; /* Red for error */
}

.aim-profile-picture-upload-status.hidden {
    display: none;
}

#tab-themes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    align-items: center;
}

.theme-settings {
  width: 100%;
  text-align: center;
}

.theme-styles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* responsive grid */
  gap: 1rem;
  width: 100%;
  margin-top: 1rem;
  font-family: sans-serif;
  font-size: 14px;
  border: none; /* remove old table border */
  padding: 0;
  box-sizing: border-box;
}

.theme-style {
  max-width: 100%; /* allow it to fill the grid cell */
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.theme-style-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.style-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.prop-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.prop-name {
  width: 100px;
  font-weight: 500;
}


.theme-styles strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
  color: #ffffff;
}

.theme-styles input[type="text"] {
  border: 1px solid #444;
  border-radius: 4px;
  padding: 4px 8px;
  margin-right: 4px;
  margin-top: 4px;
}

.theme-styles input[type="text"]::placeholder {
}

.theme-styles button {
  border: 1px solid #555;
  border-radius: 4px;
  padding: 3px 6px;
  cursor: pointer;
  font-size: 12px;
}

.theme-styles button:hover {
}

.theme-styles .remove-prop-btn {
  color: #ff6666;
  border: none;
  background: none;
  font-weight: bold;
  font-size: 14px;
  margin-left: 6px;
}

.theme-styles .remove-prop-btn:hover {
  color: #ff4444;
}

.theme-styles .add-prop-btn {
  margin-top: 4px;
}

.theme-styles .style-block {
  padding: 4px;
  border-bottom: 1px solid #333;
}

.theme-styles .style-title {
  font-weight: bold;
  font-size: 15px;
  margin-bottom: 6px;
}

.theme-styles .prop-row {
  display: flex;
  align-items: center;
  margin: 4px 0;
}

.theme-styles .prop-name {
  width: 140px;
  text-align: right;
  padding-right: 8px;
  flex-shrink: 0;
}

.theme-styles .prop-row input[type="text"] {
  width: 150px;
  margin-right: 8px;
}

.theme-styles input[type="color"] {
  width: 40px;
  height: 28px;
  padding: 0;
  border: none;
  background: none;
  margin-right: 8px;
}

.theme-styles .add-prop-btn {
  margin-left: 4px;
}

.bp-api-keys-form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin: 20px;
}

.bp-api-keys-label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
  gap: 0.25em;
}

.bp-api-keys-input,
.bp-api-keys-select {
  padding: 0.5em;
  border: 1px solid currentColor;
  border-radius: 4px;
  font: inherit;
}

.bp-api-keys-select {
  height: 6em;
}

.bp-api-keys-button {
  align-self: flex-start;
  padding: 0.5em 1em;
  font-weight: bold;
  border: 1px solid currentColor;
  border-radius: 4px;
  cursor: pointer;
}

.bp-api-keys-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.bp-api-keys-list-item {
  list-style: none;
  margin-bottom: 1em;
}

.bp-api-keys-card {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  padding: 1em;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.bp-api-keys-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bp-api-keys-name {
  font-size: 1.1em;
}

.bp-api-keys-keybox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75em;
  font-family: monospace;
  border: 1px dashed currentColor;
  border-radius: 6px;
  overflow-wrap: anywhere;
}

.bp-api-keys-code {
  font-size: 1.1em;
  font-weight: bold;
}

.bp-api-keys-buttons {
  display: flex;
  gap: 0.5em;
}

.bp-api-keys-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25em;
  font-size: 0.9em;
}

.bp-api-keys-revoke,
.bp-api-keys-reveal,
.bp-api-keys-copy {
  padding: 0.25em 0.75em;
  border: 1px solid currentColor;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85em;
}

.bp-api-keys-status {
  margin-top: 0.25em;
  font-weight: bold;
  font-size: 0.9em;
}