.CharacterSlotMain {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Create New Character Button Styles */
.create-character-btn {
    flex-grow: 1;
    background-color: rgba(100, 100, 100, 0.3);
    border-width: 2px;
    border-color: rgba(150, 150, 150, 0.6);
    border-radius: 8px;
    padding: 0;
    margin: 0;
    transition-duration: 0.2s;
    transition-property: background-color, border-color, scale;
}

.create-character-btn:hover {
    background-color: rgba(120, 120, 120, 0.4);
    border-color: rgba(180, 180, 180, 0.8);
    scale: 1.02;
}

.create-character-btn:active {
    background-color: rgba(80, 80, 80, 0.5);
    scale: 0.98;
}

.create-character-content {
    flex-grow: 1;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
}

.create-character-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(70, 130, 180, 0.3);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    border-width: 2px;
    border-color: rgba(70, 130, 180, 0.6);
}

.plus-icon {
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    -unity-text-align: middle-center;
    -unity-font-style: bold;
}

.create-character-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    -unity-text-align: middle-center;
    -unity-font-style: bold;
}

/* Character Card Styles */
.character-card {
    flex-grow: 1;
    background-color: rgba(50, 50, 70, 0.9);
    border-width: 2px;
    border-color: rgba(100, 120, 150, 0.8);
    border-radius: 8px;
    padding: 0;
    margin: 0;
    transition-duration: 0.2s;
    transition-property: background-color, border-color, scale;
}

.character-card:hover {
    background-color: rgba(60, 60, 80, 0.95);
    border-color: rgba(120, 140, 170, 1.0);
    scale: 1.02;
}

.character-card:active {
    scale: 0.98;
}

.character-card.selected-slot {
    border-color: rgb(0, 120, 215);
    background-color: rgba(0, 120, 215, 0.2);
    border-width: 3px;
}

.disabled-card {
    display: none;
}

.character-card-content {
    flex-grow: 1;
    flex-direction: column;
    padding: 8px;
}

/* Character Portrait */
.character-portrait {
    height: 80px;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.portrait-placeholder {
    width: 60px;
    height: 60px;
    background-color: rgba(100, 100, 120, 0.6);
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    border-width: 2px;
    border-color: rgba(150, 150, 170, 0.8);
}

.portrait-icon {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    -unity-text-align: middle-center;
}

/* Character Info */
.character-info {
    flex-grow: 1;
    flex-direction: column;
}

.character-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    -unity-text-align: middle-center;
    -unity-font-style: bold;
    margin-bottom: 8px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* Character Stats */
.character-stats {
    flex-direction: column;
    margin-bottom: 8px;
}

.stat-row {
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

.stat-label {
    font-size: 10px;
    color: rgba(200, 200, 200, 0.8);
    -unity-font-style: bold;
    min-width: 25px;
}

.stat-value {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    -unity-font-style: bold;
    -unity-text-align: middle-right;
    min-width: 20px;
}

/* Character Bottom Info */
.character-bottom-info {
    flex-direction: row;
    justify-content: space-between;
    padding-left: 4px;
    padding-right: 4px;
    margin-top: auto;
}

.hp-label, .ac-label {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.8);
    -unity-font-style: bold;
}

/* Legacy compatibility */
.DisabledCharacterCard {
    display: none;
}

.EnabledCharacterStyle {
    flex-grow: 1;
}
